candidate mailer

This commit is contained in:
Mark Moser
2016-08-02 10:08:16 -05:00
parent f7ec6ee84f
commit 78238e6d72
10 changed files with 161 additions and 1 deletions

View File

@ -0,0 +1,14 @@
# Preview all emails at http://localhost:3000/rails/mailers/candidate_mailer
class CandidateMailerPreview < ActionMailer::Preview
def welcome
CandidateMailer.welcome Candidate.find_by(test_hash: 'R67PmfDHGiw') # Martha
end
def reminder
CandidateMailer.reminder Candidate.find_by(test_hash: 'NmEjDkOEKY4') # Roy
end
def submitted
CandidateMailer.submitted Candidate.find_by(test_hash: 'OvP0ZqGKwJ0') # Dawn
end
end