Created
September 19, 2011 21:45
-
-
Save benzittlau/1227704 to your computer and use it in GitHub Desktop.
Rails config settings for sending mail through gmail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.action_mailer.smtp_settings = { | |
:enable_starttls_auto => true, | |
:address => "smtp.gmail.com", | |
:port => 587, | |
:domain => "whatever.com", | |
:authentication => :plain, | |
:user_name => "xxxxxx@whatever.com", | |
:password => "xxxxxxxxx", | |
:openssl_verify_mode => OpenSSL::SSL::VERIFY_NONE | |
} | |
config.plugins = [ :exception_notification, :ssl_requirement, :all ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment