Commit a3202fd5 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub

Add SMTP_TLS variable for configuring TLS when server uses non-standard port (#4227)

parent 1cceefce
......@@ -85,6 +85,7 @@ Rails.application.configure do
:ca_file => ENV['SMTP_CA_FILE'].presence,
:openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'],
:enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true,
:tls => ENV['SMTP_TLS'].presence,
config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment