Browse Source

fix bug of mastodon(?): add :ssl in smtp setting

pull/4/head
欧醚 4 years ago
parent
commit
0646238fed
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      config/environments/production.rb

+ 1
- 0
config/environments/production.rb View 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

Loading…
Cancel
Save