Sha256: 91ea3292711e5f878f450d4d597ec9f26df1aa6baf80b544e82cea8070983ed5
Contents?: true
Size: 772 Bytes
Versions: 53
Compression:
Stored size: 772 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
53 entries across 53 versions & 2 rubygems