Class: Ecm::Contact::ContactRequestMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- Ecm::Contact::ContactRequestMailer
- Defined in:
- app/mailers/ecm/contact/contact_request_mailer.rb
Instance Method Summary collapse
-
#notify(contact_request) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:.
Instance Method Details
#notify(contact_request) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:
en.contact_request_mailer.notify.subject
9 10 11 12 13 14 15 |
# File 'app/mailers/ecm/contact/contact_request_mailer.rb', line 9 def notify(contact_request) @contact_request = contact_request mail to: notification_recipients, from: notification_sender(contact_request), subject: notification_subject end |