a guest Mar 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- 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