]> cat aescling's git repositories - mastodon.git/commitdiff
add ssl option in smtp setting (#14309)
authorTdxdxoz <tdxdxoz@gmail.com>
Wed, 15 Jul 2020 12:43:49 +0000 (20:43 +0800)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 12:43:49 +0000 (14:43 +0200)
config/environments/production.rb

index 29d6194ddabdacd7eb0050a1449f952040b41371..aaad2449f23e09c82a2845f82aa3f5e7dc83e47f 100644 (file)
@@ -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