Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Polsonby's Profile

GitHub User: Polsonby

Comments by

Avatar

Great railscast! I didn't like the gmail option but found this awesome blog post which explains how to start postfix on your mac and send mail from that - no passwords or environment variables required

http://andr.esmejia.com/posts/20-send-real-mail-with-rails-from-your-development-environment-on-mac-os-x

In brief:

in terminal do
sudo postfix start

In config/environments/development.rb :
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "localhost",
:port => 25,
:domain => "whatever.com",
}

Worked great on Mac OSX Lion, Rails 3.2

Remember to look in your gmail spam folder for the email (on gmail.com not just Mac Mail app)

Avatar

Sorry for the content-free post but just had to say, that was an amazing episode, thank you Ryan :)