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