diff options
Diffstat (limited to 'app/models/user_mailer.rb')
-rw-r--r-- | app/models/user_mailer.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/user_mailer.rb b/app/models/user_mailer.rb index e4d56b68a..06a115c5b 100644 --- a/app/models/user_mailer.rb +++ b/app/models/user_mailer.rb @@ -4,11 +4,12 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: user_mailer.rb,v 1.7 2008-02-28 12:29:43 francis Exp $ +# $Id: user_mailer.rb,v 1.8 2009-02-09 10:37:12 francis Exp $ class UserMailer < ApplicationMailer def confirm_login(user, reasons, url) @from = contact_from_name_and_email + headers 'Return-Path' => blackhole_email, 'Reply-To' => @from # we don't care about bounces when people are fiddling with their account @recipients = user.name_and_email @subject = reasons[:email_subject] @body[:reasons] = reasons @@ -18,6 +19,7 @@ class UserMailer < ApplicationMailer def already_registered(user, reasons, url) @from = contact_from_name_and_email + headers 'Return-Path' => blackhole_email, 'Reply-To' => @from # we don't care about bounces when people are fiddling with their account @recipients = user.name_and_email @subject = reasons[:email_subject] @body[:reasons] = reasons |