Created
November 17, 2016 15:30
-
-
Save nicolasblanco/b0e621497bfc0c103b6000f32bfcd507 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # config/environments/production.rb | |
| config.action_mailer.smtp_settings = { | |
| :user_name => ENV['SENDGRID_USERNAME'], | |
| :password => ENV['SENDGRID_PASSWORD'], | |
| :domain => 'your_application_name.herokuapp.com', | |
| :address => 'smtp.sendgrid.net', | |
| :port => 587, | |
| :authentication => :plain, | |
| :enable_starttls_auto => true | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment