Displaying 1 result from an estimated 1 matches for "systemmailer".
2011 Aug 16
2
Mailer failure: ArgumentError: A sender (Return-Path, Sender or From) required to send a message
...org>" defined.
FAILS
def password_reset_instructions(user)
@user = user
@url = edit_password_reset_url(user.perishable_token)
mail(:to => user.email, :subject => ''Password Reset for WaveLineup'')
end
Error message:
ruby-1.9.2-p290 :010 >
SystemMailer.password_reset_instructions(user).deliver
ArgumentError: A sender (Return-Path, Sender or From) required to send a
message
WORKS FINE
def wavelineup_invitation(invitation)
@referring_user = invitation.referring_user
@token = invitation.token
mail(:to => invitation.email,...