Class: EacRailsBase0::SendTestMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/eac_rails_base0/send_test_mailer.rb

Instance Method Summary collapse

Instance Method Details

#mainObject



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