mail-store-agent 0.1.1
require 'mail' require 'mail-store-agent' Mail.defaults do delivery_method :test end Mail::TestMailer.deliveries = MailStoreAgent.new # send some mail to someone@someplace.com, and then ... Mail::TestMailer.deliveries.get('someone@someplace.com').is_a? Mail::Message # or nil