+class VoterNotify < ActionMailer::Base
+
+ def votestart(voter)
+ @subject = "[%s] Election In Progress!" % voter.election.name
+ @recipients = voter.email
+ @from = MAIL_CONFIG[:from]
+ @sent_on = Time.now
+ @body = { :voter => voter }
+ end
+
+ def reminder(voter)
+ end
+
+end