Skip to content

Instantly share code, notes, and snippets.

@windock
Created October 11, 2010 08:48
Show Gist options
  • Save windock/620230 to your computer and use it in GitHub Desktop.
Save windock/620230 to your computer and use it in GitHub Desktop.
config/environments/development.rb
MyApp::Application.configure do
# here are some existing settings
# ...
#
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => 'some_domain',
:user_name => 'plain_username',
:password => 'plain_password',
: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