Move email configuration out of the model and into the config file
This commit is contained in:
parent
4ef2cb9a71
commit
cd89a3c662
2 changed files with 6 additions and 2 deletions
|
@ -99,8 +99,8 @@ private
|
|||
def common_headers(recipient)
|
||||
recipients recipient.email
|
||||
locale recipient.preferred_language_from(I18n.available_locales)
|
||||
from "OpenStreetMap <webmaster@openstreetmap.org>"
|
||||
headers "return-path" => "bounces@openstreetmap.org",
|
||||
from EMAIL_FROM
|
||||
headers "return-path" => EMAIL_RETURN_PATH,
|
||||
"Auto-Submitted" => "auto-generated"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue