Action Mailer Problem with salted hash login generator

Hi! Guys
  I am using the salted hash login generator for login purpose. Now, I
am working in friendship. When I want to request someone for
friendship request via the action mailer I get following error: