Class: Safetynet::NotificationMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
lib/safetynet/notification_mailer.rb

Instance Method Summary collapse

Instance Method Details

#delivery_denied_notification(address, channel, method, properties) ⇒ Object



5
6
7
8
# File 'lib/safetynet/notification_mailer.rb', line 5

def delivery_denied_notification(address, channel, method, properties)
  mail_to = Rails.configuration.safetynet[:notification_email] || "[email protected]"
  mail(from: mail_to, to: mail_to, subject: "test", body: "test")
end