- Setup your ActionMailer. I'm using Google Mail for my stuff: http://www.rubyinside.com/how-to-use-gmails-smtp-server-with-rails-394.html
ruby script/generate mailer testmailer- Add this code to testmailer.rb (Testmailer < ActionMailer::Base)
def test_mail(to)
subject "My first email!"
recipients "#{to}"
from 'test'
charset "utf-8"
content_type 'text/html'
body "Testing one two three..."
end ruby script/consoleTestmailer.deliver_test_mail("you@yourdomain.com")
2008-09-25



