keeping things simple (hopefully)
December 15, 2007
Filed under: Uncategorized — Jason @ 8:49 pm

This was a good post in getting GMail set up in Rails. But if you follow it exactly you’ll run into a a hiccup if you’re running Rails 2.0.

Rails 2.0 has depricated the ActionMailer::Base.server_settings= function and opted for the more aptly named smtp_settings. So just use this for your settings and you’ll be okay.

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
  :address => "",
  :port => 587,
  :domain => "",
  :authentication => :plain,
  :user_name => "username",
  :password => "password"

Also don’t forget, your username will be your FULL email address (e.g.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment