class InquiryMailer < ActionMailer::Base def confirmation(inquiry, request) subject InquirySetting.confirmation_subject(Globalize.locale) recipients inquiry.email from "\"#{RefinerySetting[:site_name]}\" " reply_to InquirySetting.notification_recipients.split(',').first sent_on Time.now @inquiry = inquiry end def notification(inquiry, request) subject InquirySetting.notification_subject recipients InquirySetting.notification_recipients from "\"#{RefinerySetting[:site_name]}\" " reply_to inquiry.email sent_on Time.now @inquiry = inquiry end end