Skip to content

Commit

Permalink
Merge pull request #101 from tildeio/sg-email-fixes
Browse files Browse the repository at this point in the history
Email fixes
  • Loading branch information
sgrif committed Apr 6, 2022
2 parents fb96d07 + 3839bdf commit bc0224d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@
config.action_mailer.default_options = {from: ENV['MAIL_FROM']}

config.action_mailer.smtp_settings = {
:address => 'smtp.sendgrid.net',
:address => ENV.fetch('SENDGRID_ADDRESS'),
:port => '587',
:authentication => :plain,
:user_name => "apikey",
:password => ENV['SENDGRID_API_KEY'],
:domain => 'heroku.com',
:user_name => ENV.fetch('SENDGRID_USERNAME'),
:password => ENV.fetch('SENDGRID_PASSWORD'),
:domain => ENV.fetch('SENDGRID_DOMAIN'),
:enable_starttls_auto => true
}

Expand Down

0 comments on commit bc0224d

Please sign in to comment.