class InquiryMailer < ActionMailer::Base def confirmation(inquiry, request) subject InquirySetting.confirmation_subject 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]}\" " sent_on Time.now @inquiry = inquiry end end