Class: EacRailsBase0::SendTestMailer
- Inherits:
-
ApplicationMailer
- Object
- ApplicationMailer
- EacRailsBase0::SendTestMailer
- Defined in:
- app/mailers/eac_rails_base0/send_test_mailer.rb
Instance Method Summary collapse
Instance Method Details
#main ⇒ Object
5 6 7 8 |
# File 'app/mailers/eac_rails_base0/send_test_mailer.rb', line 5 def main @subject = "#{t('eac_rails_base0.mailer.send_test')} [#{::Time.zone.now}]" mail(to: params.fetch(:address), subject: @subject) end |