a guest Mar 13th, 2018 56 Never
- class Mailer < ActionMailer::Base
- def notify_client(recipient = nil, first_name = nil)
- return false if recipient.nil? or first_name.nil?
- @recipients = recipient
- @subject += "Thank you for your submission"
- @body[:first_name] = first_name
- def setup_email
- @from = DO_NOT_REPLY
- @subject = "[Vacation Greeting Card] "
- @sent_on = Time.now
RAW Paste Data