diff --git a/config/environments/production.rb b/config/environments/production.rb index 57461ed..7423852 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -86,6 +86,8 @@ Rails.application.configure do protocol: ENV['CANONICAL_HOST_PROTOCOL'] || 'https' } + + config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: ENV['SMTP_ADDRESS'], port: (ENV['SMTP_PORT'] || 587).to_i,