Note: This page may be out of date with current API but the initial setup and example have been modified to reflect the use of methods versus instance variables. My updated tutorial for sending emails, tested with 2.0 How to send email with Ruby on Rails ActionMailer is a Rails service-layer package for creating email messages. Generate a mailer Create a stub file using the generator: ruby scrip