From 4ec4a3ddd69b50dc6b581fddbcf72950df4dbcce Mon Sep 17 00:00:00 2001 From: Rene Date: Tue, 16 Sep 2025 21:21:41 +0200 Subject: [PATCH] mail --- config/environments/production.rb | 2 ++ 1 file changed, 2 insertions(+) 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,