Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.