Skip to content

Commit fa0b73e

Browse files
authored
Merge pull request #675 from musaprg/fix-sendgrid-bug
Fix to use the API Key for SMTP authentication
2 parents 68777f1 + 1d29584 commit fa0b73e

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
@@ -67,8 +67,8 @@
6767
address: 'smtp.sendgrid.net',
6868
port: 587,
6969
domain: 'heroku.com',
70-
user_name: ENV['SENDGRID_USERNAME'],
71-
password: ENV['SENDGRID_PASSWORD'],
70+
user_name: 'apikey',
71+
password: ENV['SENDGRID_API_KEY'],
7272
authentication: 'plain',
7373
enable_starttls_auto: true
7474
}

0 commit comments

Comments
 (0)