Skip to content

Instantly share code, notes, and snippets.

@TheEricMiller
Created August 9, 2013 07:36
Show Gist options
  • Select an option

  • Save TheEricMiller/6191801 to your computer and use it in GitHub Desktop.

Select an option

Save TheEricMiller/6191801 to your computer and use it in GitHub Desktop.
EricsRails::Application.configure do
# ActionMailer ===============================================
config.action_mailer.delivery_method = :smtp
config.action_mailer.raise_delivery_errors = true
config.action_mailer.default_url_options = { :host => ENV["ACT_MAILER_HOST"] }
config.action_mailer.smtp_settings = {
:address => ENV["ACT_MAILER_SMTP_ADDRESS"],
:user_name => ENV["ACT_MAILER_SMTP_USER_NAME"],
:password => ENV["ACT_MAILER_SMTP_PASSWORD"],
:domain => ENV["ACT_MAILER_SMTP_DOMAIN"],
:authentication => ENV["ACT_MAILER_SMTP_AUTH"],
:port => ENV["ACT_MAILER_SMTP_PORT"],
:enable_starttls_auto => true
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment