This plugin was originally based on action-mailer-queue by Andrew Beam. It has been rewritten for Rails 3.
class MyMailer < ActionMailer::Base # Tell the mailer to deliver with active record self.delivery_method = :active_record def test mail(:to => "email@example.com", :from => "firstname.lastname@example.org") end end # Creates a records in the emails table (see spec/schema.rb for structure). MyMailer.test.deliver
Andrew Beam - original author