Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Notifier < ActionMailer::Base
- #
- # def job_app(applicant)
- # recipients RAILS_ENV == "production" ? "jim@pbsbooks.com" : "bordy@graysenterprises.com"
- # from applicant[:email]
- # subject "[PBS Books] Job Application"
- # body :applicant => applicant
- # end
- def email_jim(business_day, school)
- recipients RAILS_ENV == "production" ? "mikemiller@graysbooks.com, chris@graysbooks.com" : "bordy@graysenterprises.com"
- from "pbstest@graysbooks.com"
- subject "[#{school.school_name}] Variance Notification"
- body :school => school
- end
- end
Add Comment
Please, Sign In to add comment