Sha256: 7dc57cb98a62d13b3b17940c10d8de3c90f6053306fdfeae5a32e0bc2dd9112c
Contents?: true
Size: 771 Bytes
Versions: 17
Compression:
Stored size: 771 Bytes
Contents
class InquiryMailer < ActionMailer::Base def confirmation(inquiry, request) subject "Thank you for your inquiry" recipients inquiry.email from "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>" reply_to InquirySetting.notification_recipients.value.split(',').first sent_on Time.now body :inquiry => inquiry end def notification(inquiry, request) subject "New inquiry from your website" recipients InquirySetting.notification_recipients.value from "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>" sent_on Time.now body :inquiry => inquiry end end
Version data entries
17 entries across 17 versions & 1 rubygems