Skip to content

Instantly share code, notes, and snippets.

@ecarnevale
Created February 16, 2015 15:24
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 ecarnevale/c79273714fbe9ba5abfd to your computer and use it in GitHub Desktop.
Save ecarnevale/c79273714fbe9ba5abfd to your computer and use it in GitHub Desktop.
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => ENV['SMTP_HOST'],
:port => 587,
:authentication => :plain,
:user_name => ENV['SMTP_USERNAME'],
:password => ENV['SMTP_PASSWORD'],
:domain => ENV['SMTP_DOMAIN'],
:enable_starttls_auto => true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment