From 0646238fed05ff2fb7a5b4f9f30848da76c08648 Mon Sep 17 00:00:00 2001 From: Z Date: Sat, 11 Jul 2020 22:09:26 +0800 Subject: [PATCH] fix bug of mastodon(?): add :ssl in smtp setting --- config/environments/production.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index b7cee161e..fba3399a2 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