Class: Jobshop::RFQResponderMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/jobshop/rfq_responder_mailer.rb

Instance Method Summary collapse

Instance Method Details

#verified_contactObject

Subject can be set in your I18n file at config/locales/en.yml with the following lookup:

en.rfq_responder_mailer.verified_contact.subject


11
12
13
14
15
16
# File 'app/mailers/jobshop/rfq_responder_mailer.rb', line 11

def verified_contact
  @to = params[:customer_contact]
  @greeting = "RFQ Received"

  mail(to: @to.email)
end