public void SendPilotStudentLicenseEmail(FpOrgPilotUsedLicense license)
        {
            var    model   = Mapper.Map <FpOrgPilotUsedLicense, FillPerfectPilotStudentLicenceEmailViewModel>(license);
            string subject = "Welcome to the InterviewTools FillPerfect Pilot Program!";

            // Open the template and form the message
            string body = ParseTemplate("Mail/Templates/FillPerfect/PilotStudentLicenseEmail.cshtml", model);

            new EmailUtils().Send(license.Email, subject, body, true);
        }
Example #2
0
 protected void SendLicenseToUser(FpOrgPilotUsedLicense user)
 {
     new FillPerfectMailController().SendPilotStudentLicenseEmail(user);
 }
 protected void SendLicenseToUser(FpOrgPilotUsedLicense user)
 {
     new FillPerfectMailController().SendPilotStudentLicenseEmail(user);
 }