-
- Downloads
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.
Showing
- app/mailers/application_mailer.rb 0 additions, 1 deletionapp/mailers/application_mailer.rb
- app/mailers/user_mailer.rb 0 additions, 1 deletionapp/mailers/user_mailer.rb
- config/environments/development.rb 2 additions, 0 deletionsconfig/environments/development.rb
- config/environments/production.rb 2 additions, 0 deletionsconfig/environments/production.rb
- config/environments/test.rb 2 additions, 0 deletionsconfig/environments/test.rb
Loading
Please register or sign in to comment