From b301438c09f9d6296baf760a45967390fe99ca21 Mon Sep 17 00:00:00 2001 From: Rene Date: Tue, 16 Sep 2025 21:19:02 +0200 Subject: [PATCH] mail --- config/environments/production.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 8b09c6b..57461ed 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -93,7 +93,9 @@ Rails.application.configure do user_name: ENV['SMTP_USER_NAME'], password: ENV['SMTP_PASSWORD'], authentication: ENV['SMTP_AUTHENTICATION'] || 'plain', - enable_starttls_auto: ENV['SMTP_ENABLE_STARTTLS_AUTO'] || 'true' + enable_starttls: ENV['SMTP_ENABLE_STARTTLS_AUTO'] || 'true' + open_timeout: 5, + read_timeout: 5 } # Enable locale fallbacks for I18n (makes lookups for any locale fall back to