Skip to content

Commit 802cf43

Browse files
author
David Zuckerman
committed
setting tls to true and using port 465 for sending emails
1 parent 703f717 commit 802cf43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/environments/production.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@
7777

7878
smtp_settings = {
7979
address: 'smtp.gmail.com',
80-
port: '587',
80+
port: '465',
8181
domain: 'berkeley.edu',
8282
user_name: mail_smtp_username,
8383
password: mail_smtp_password,
8484
authentication: 'plain',
85-
enable_starttls_auto: true
85+
tls: true
8686
}
8787
config.action_mailer.smtp_settings = smtp_settings
8888
config.after_initialize do

0 commit comments

Comments
 (0)