Class: Spree::TestMailer
Instance Method Summary
collapse
Methods inherited from BaseMailer
#from_address, #frontend_available?, #mail, #money
Instance Method Details
#test_email(email) ⇒ Object
3
4
5
6
|
# File 'app/mailers/spree/test_mailer.rb', line 3
def test_email(email)
subject = "#{Spree::Store.current.name} #{Spree.t('test_mailer.test_email.subject')}"
mail(to: email, from: from_address, subject: subject)
end
|