Class: IfdTools::ContactRequestMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/ifd_tools/contact_request_mailer.rb

Instance Method Summary collapse

Instance Method Details

#admin_notification(contact_request) ⇒ Object



3
4
5
6
# File 'app/mailers/ifd_tools/contact_request_mailer.rb', line 3

def admin_notification(contact_request)
  @contact = contact_request
  mail to: Settings.contact_request_to, from: Settings.notifications_email, reply_to: @contact_request.email, subject: "[#{ActiveAdmin.application.site_title}]: Contact Request"
end