Created
September 18, 2012 03:09
-
-
Save yuletide/3741017 to your computer and use it in GitHub Desktop.
action_mailer local dev settings
This file contains hidden or 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/environments/development.rb | |
# current setting -- saves sent mails locally in rails_root/tmp/mails/ | |
config.action_mailer.delivery_method = :file | |
# OR... | |
config.action_mailer.delivery_method = :smtp | |
config.action_mailer.smtp_settings = { | |
:enable_starttls_auto => true, | |
:address => "smtp.gmail.com", | |
:port => 587, | |
:domain => "codeforamerica.org", | |
:authentication => :plain, | |
:user_name => "[email protected]", | |
:password => "etc" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment