Merge pull request #349 from foodcoop1040/reply_to
Use FoodsoftConfig[:email_sender] for sender address
This commit is contained in:
commit
bd31092a65
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ class MessagesMailer < Mailer
|
||||||
|
|
||||||
mail subject: "[#{FoodsoftConfig[:name]}] " + message.subject,
|
mail subject: "[#{FoodsoftConfig[:name]}] " + message.subject,
|
||||||
to: recipient.email,
|
to: recipient.email,
|
||||||
from: "#{show_user(message.sender)} <#{message.sender.email}>"
|
from: "#{show_user(message.sender)} via Foodsoft <#{FoodsoftConfig[:email_sender]}>",
|
||||||
|
reply_to: "#{show_user(message.sender)} <#{message.sender.email}>"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue