1 # Configure ActionMailer SMTP settings
2 ActionMailer::Base.smtp_settings = {
3 :address => 'localhost',
5 :domain => 'localhost',
8 # Monkey patch to fix return-path bug in ActionMailer 2.2.2
9 # Can be removed once we go to 2.3
12 def sendmail(msgstr, from_addr, *to_addrs)
13 send_message(msgstr, from_addr.to_s.sub(/^<(.*)>$/, "\\1"), *to_addrs)