Class: Devmail::Sample

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/devmail/sample.rb

Instance Method Summary collapse

Instance Method Details

#testObject

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