Skip to content

Instantly share code, notes, and snippets.

@dan1d
Created May 29, 2013 14:54
Show Gist options
  • Save dan1d/5670902 to your computer and use it in GitHub Desktop.
Save dan1d/5670902 to your computer and use it in GitHub Desktop.
if Rails.env.production?
ActionMailer::Base.smtp_settings = {
user_name: "username",
password: "password",
domain: "kole.herokuapp.com",
address: "smtp.sendgrid.net",
port: 587,
authentication: :plain,
enable_starttls_auto: true
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment