module Devmail class Sample < ActionMailer::Base default from: "from@example.com" # Subject can be set in your I18n file at config/locales/en.yml # with the following lookup: # # en.sample.test.subject # def test @greeting = "Hi" mail to: "to@example.org" end end end