14 lines
703 B
Diff
14 lines
703 B
Diff
diff --git a/config/environments/production.rb b/config/environments/production.rb
|
|
index 16d8c8e84..e0326d26d 100644
|
|
--- a/config/environments/production.rb
|
|
+++ b/config/environments/production.rb
|
|
@@ -86,7 +86,8 @@ Rails.application.configure do
|
|
user_name: ENV.fetch("SMTP_USER"),
|
|
password: ENV.fetch("SMTP_PASS"),
|
|
authentication: ENV.fetch("SMTP_AUTHENTICATION"),
|
|
- enable_starttls_auto: ENV.fetch("SMTP_TLS").present?
|
|
+ enable_starttls_auto: ENV.fetch("SMTP_TLS").present?,
|
|
+ ssl: ENV.fetch("SMTP_SSL").present?
|
|
}
|
|
elsif ENV['SENDMAIL_ENABLED'] == 'enabled'
|
|
config.action_mailer.delivery_method = :sendmail
|