From 802cf43ddf6325d516f46fd19e4756ee8c97d5ff Mon Sep 17 00:00:00 2001 From: David Zuckerman Date: Tue, 20 Jan 2026 14:11:25 -0800 Subject: [PATCH] setting tls to true and using port 465 for sending emails --- config/environments/production.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 7d966a1..465f00f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -77,12 +77,12 @@ smtp_settings = { address: 'smtp.gmail.com', - port: '587', + port: '465', domain: 'berkeley.edu', user_name: mail_smtp_username, password: mail_smtp_password, authentication: 'plain', - enable_starttls_auto: true + tls: true } config.action_mailer.smtp_settings = smtp_settings config.after_initialize do