mastodon/app/mailers
Akihiko Odaki (@fn_aki@pawoo.net) 2083000027 Set default From address in config (#3756)
The old implementation sets default From address in mailers. It sets
the address from SMTP_FROM_ADDRESS, or notifications@localhost. The
behavior is occasionally undesired results.

In production environment, notifications@localhost is likely to be
incorrect.
In testing environment, the email address should not be varied by a
environment variable.

After appling this change,

In production environment, it will throw an exception when launching
Mastodon.
In testing environment, the address will be fixed with
notifications@localhost.
2017-07-07 00:12:12 +02:00
..
admin_mailer.rb Fix that AdminMailer does not send (#4012) 2017-06-30 13:40:43 +02:00
application_mailer.rb Set default From address in config (#3756) 2017-07-07 00:12:12 +02:00
notification_mailer.rb Fix #1624 - Send e-mail notifications to admins about new reports (#3949) 2017-06-27 00:04:00 +02:00
user_mailer.rb Set default From address in config (#3756) 2017-07-07 00:12:12 +02:00