public static void SendTemporaryPassword(string userEmail, string temporaryPassword, DateTime temporaryPasswordExpires) { string body = string.Format(Translation.Translation.SendPasswordMailBody, ConfigurationManager.AppSettings["websiteurl"], temporaryPassword, temporaryPasswordExpires); MailService.SendEmail(userEmail, Translation.Translation.SendPasswordMailTitle, body); }
public static void SendConfirmationEmail(string userEmail, string confirmUrl) { string body = string.Format(Translation.Translation.ConfirmationMailBody, ConfigurationManager.AppSettings["websiteurl"], confirmUrl); MailService.SendEmail(userEmail, Translation.Translation.ConfirmationMailTitle, body); }