about summary refs log tree commit diff
path: root/config/environments
diff options
context:
space:
mode:
authorTdxdxoz <tdxdxoz@gmail.com>2020-07-15 20:43:49 +0800
committerGitHub <noreply@github.com>2020-07-15 14:43:49 +0200
commit376b44853fc5cde256986d61dd5eafcf1067de5d (patch)
tree1013e447fde4bc2f8cf3de678a138580ef45f2e1 /config/environments
parent0a8a3fe59590e60b28c26a2e79ffe22b4d77f698 (diff)
add ssl option in smtp setting (#14309)
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 29d6194dd..aaad2449f 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -99,6 +99,7 @@ Rails.application.configure do
     :openssl_verify_mode  => ENV['SMTP_OPENSSL_VERIFY_MODE'],
     :enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true,
     :tls                  => ENV['SMTP_TLS'].presence,
+    :ssl                  => ENV['SMTP_SSL'].presence,
   }
 
   config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym