Skip to content
Snippets Groups Projects
Unverified Commit 376b4485 authored by Tdxdxoz's avatar Tdxdxoz Committed by GitHub
Browse files

add ssl option in smtp setting (#14309)

parent 0a8a3fe5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment