Skip to content

Instantly share code, notes, and snippets.

@ulfklose
Created December 21, 2010 04:47
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 ulfklose/749507 to your computer and use it in GitHub Desktop.
Save ulfklose/749507 to your computer and use it in GitHub Desktop.
Valid configuration for Google Apps and Google Mail
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:tls => true,
:enable_starttls_auto => true,
:address => "smtp.gmail.com",
:port => '587',
:domain => "domainname.tld",
:authentication => :plain,
:user_name => "user@domain.tld",
:password => "yourpassword"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment