diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-07-16 23:48:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-16 23:48:35 +0200 |
commit | a3202fd51e240050a12ddf1170e3e6e2b1532bbf (patch) | |
tree | a64a63e2f2de9dd4bf7fdf5e8bb015d8349a69f9 /config | |
parent | 1cceefce330f7a47590a1914bbd7e404080996b0 (diff) |
Add SMTP_TLS variable for configuring TLS when server uses non-standard port (#4227)
Diffstat (limited to 'config')
-rw-r--r-- | config/environments/production.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index d9c9da684..f1351e378 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -85,6 +85,7 @@ Rails.application.configure do :ca_file => ENV['SMTP_CA_FILE'].presence, :openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'], :enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true, + :tls => ENV['SMTP_TLS'].presence, } config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym |