We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbe88cc commit b17a0beCopy full SHA for b17a0be
1 file changed
config/environments/production.rb
@@ -84,14 +84,14 @@
84
config.action_mailer.delivery_method = :smtp
85
config.action_mailer.smtp_settings = {
86
address: 'smtp.gmail.com',
87
- port: '587',
+ port: 587,
88
domain: config.altmedia['mail_smtp_domain'],
89
user_name: config.altmedia['mail_smtp_username'],
90
password: config.altmedia['mail_smtp_password'],
91
authentication: 'plain',
92
- enable_starttls_auto: true,
+ tls: true,
93
open_timeout: ENV.fetch('MAIL_OPEN_TIMEOUT', 5).to_i,
94
- read_timeout: ENV.fetch('MAIL_READ_TIMEOUT', 120).to_i
+ read_timeout: ENV.fetch('MAIL_READ_TIMEOUT', 5).to_i
95
}
96
97
if ENV['INTERCEPT_EMAILS'].present?
0 commit comments