Browse Source

add ssl option in smtp setting (#14309)

feature_cybrespace_locale
Tdxdxoz 2 years ago committed by GitHub
parent
commit
376b44853f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      config/environments/production.rb

1
config/environments/production.rb

@ -99,6 +99,7 @@ Rails.application.configure do @@ -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