Skip to content

Instantly share code, notes, and snippets.

@mrgenixus
Last active December 29, 2015 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrgenixus/94bb6e945563fc2c745d to your computer and use it in GitHub Desktop.
Save mrgenixus/94bb6e945563fc2c745d to your computer and use it in GitHub Desktop.
class Application < Rails::Application
# Configure Sendgrid
ActionMailer::Base.smtp_settings = {
:address => 'smtp.sendgrid.net',
:port => '587',
:authentication => :plain,
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:domain => 'heroku.com',
:enable_starttls_auto => true
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment