smtp delivery type fix (#1556)
* delivery fix # Conflicts: # config/environments/production.rb * added stub in .env file * reordered and added a comment
This commit is contained in:
@ -104,7 +104,8 @@ Rails.application.configure do
|
||||
:enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true,
|
||||
}
|
||||
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym
|
||||
|
||||
|
||||
config.react.variant = :production
|
||||
|
||||
|
Reference in New Issue
Block a user