[Rails] Mailer failure: ArgumentError: A sender (Return-Path, Sender or From) required to send a message

2011-08-16 Thread David Kahn
I have two mailer procedures in the same app and same mailer (Rails 3.1/1.9.2). The first one fails with the message below, the second works fine. Both these results are through irb. Anyone have an idea as to why? Also, in my application.rb I do have: ActionMailer::Base.default :from = WaveLineup

[Rails] Mailer failure: ArgumentError: A sender (Return-Path, Sender or From) required to send a message

2011-08-16 Thread 7stud --
What is the output when you try this: def password_reset_instructions(user) @user = user p @user @url = edit_password_reset_url(user.perishable_token) mail(:to = user.email, :subject = 'Password Reset for WaveLineup') end -- Posted via http://www.ruby-forum.com/. --

[Rails] Mailer failure: ArgumentError: A sender (Return-Path, Sender or From) required to send a message

2011-08-16 Thread David Kahn
On Tue, Aug 16, 2011 at 1:38 PM, 7stud -- li...@ruby-forum.com wrote: What is the output when you try this: def password_reset_instructions(user) @user = user p @user @url = edit_password_reset_url(user.perishable_token) mail(:to = user.email, :subject = 'Password