fixed bug in the mailer that caused a invalid To: header in the mail
This commit is contained in:
parent
4df13d56e1
commit
6a4351378b
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ class Notifier < ActionMailer::Base
|
||||||
|
|
||||||
attachments.inline['diaspora_white_on_grey.png'] = ATTACHMENT
|
attachments.inline['diaspora_white_on_grey.png'] = ATTACHMENT
|
||||||
|
|
||||||
mail(:to => "#{@receiver.name} <#{@receiver.email}>",
|
mail(:to => "\"#{@receiver.name}\" <#{@receiver.email}>",
|
||||||
:subject => I18n.t('notifier.new_request.subject', :from => @sender.name), :host => APP_CONFIG[:terse_pod_url])
|
:subject => I18n.t('notifier.new_request.subject', :from => @sender.name), :host => APP_CONFIG[:terse_pod_url])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -42,7 +42,7 @@ class Notifier < ActionMailer::Base
|
||||||
|
|
||||||
attachments.inline['diaspora_white_on_grey.png'] = ATTACHMENT
|
attachments.inline['diaspora_white_on_grey.png'] = ATTACHMENT
|
||||||
|
|
||||||
mail(:to => "#{@receiver.name} <#{@receiver.email}>",
|
mail(:to => "\"#{@receiver.name}\" <#{@receiver.email}>",
|
||||||
:subject => I18n.t('notifier.request_accepted.subject', :name => @sender.name), :host => APP_CONFIG[:terse_pod_url])
|
:subject => I18n.t('notifier.request_accepted.subject', :name => @sender.name), :host => APP_CONFIG[:terse_pod_url])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue