Skip to content

Commit

Permalink
Add SMTP_TLS variable for configuring TLS when server uses non-standa…
Browse files Browse the repository at this point in the history
…rd port (#4227)
  • Loading branch information
Gargron committed Jul 16, 2017
1 parent 1cceefc commit a3202fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
: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
Expand Down

0 comments on commit a3202fd

Please sign in to comment.