Class: Devmail::Sample
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Devmail::Sample
- Defined in:
- app/mailers/devmail/sample.rb
Instance Method Summary collapse
-
#test ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:.
Instance Method Details
#test ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:
en.sample.test.subject
10 11 12 13 14 |
# File 'app/mailers/devmail/sample.rb', line 10 def test @greeting = "Hi" mail to: "[email protected]" end |