public void Process() { var reviewerEmailAddresses = GetEmailAddress.GetEmailAddressForRoles(367); var subject = "Nominations Submitted For Your Review."; var emailBodyPath = @"C:\Users\aajadhav\Source\Repos\UtilitiesDeployedOnAzure\Silicus.UtilityContainer\HangFireBackgroundTasks\View\EmailBodyToReviewer.html"; new EmailService().SendEmail(emailBodyPath, reviewerEmailAddresses, subject); }
public void Process() { var reviewerEmailAddresses = GetEmailAddress.GetEmailAddressForRoles(367); var subject = "Review Process Locked"; //var emailBodyPath = @"C:\Users\aajadhav\Source\Repos\UtilitiesDeployedOnAzure\Silicus.UtilityContainer\HangFireBackgroundTasks\View\ReviewsLockedNotificationToReviewer.html"; var emailBodyPath = @"C:\Users\IKadam.SILICUS\Source\Repos\Utilities3\Silicus.UtilityContainer\Silicus.UtilityContainer.HangFireBackgroundTasks\View\ReviewsLockedNotificationToReviewer.html"; new EmailService().SendEmail(emailBodyPath, reviewerEmailAddresses, subject); }
private void SendReviewNominationEmail(string awardName, string templatePath) { var reviewerEmailAddresses = GetEmailAddress.GetEmailAddressForRoles(371); if (reviewerEmailAddresses.Count <= 0) { return; } var emailBody = getEmailBody(awardName, templatePath); var subject = "Nominations Submitted For Your Review."; //new EmailService().SendEmail(emailBodyPath, reviewerEmailAddresses, subject); new EmailService().SendEmail(emailBody, new List <string>() { "*****@*****.**" }, subject); }
private void SendAdminNominationEmail(string awardName, string templatePath) { var adminEmailAddresses = GetEmailAddress.GetEmailAddressForRoles(370); if (adminEmailAddresses.Count <= 0) { return; } var emailBody = getEmailBody(awardName, templatePath); var subject = "Review Process Locked"; //new EmailService().SendEmail(emailBodyPath, adminEmailAddresses, subject); new EmailService().SendEmail(emailBody, new List <string>() { "*****@*****.**" }, subject); }
private void SendNominationEmail(string awardName, string templatePath) { _logger.Log("EncourageEmailProcessor-SendNominationEmail"); var managerEmailAddresses = GetEmailAddress.GetEmailAddressForRoles(369); if (managerEmailAddresses.Count <= 0) { return; } var emailBody = getEmailBody(awardName, templatePath); var subject = "Submit Your Nominations"; //new EmailService().SendEmail(emailBodyPath, managerEmailAddresses, subject); new EmailService().SendEmail(emailBody, new List <string>() { "*****@*****.**" }, subject); }