예제 #1
0
        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);
        }
예제 #2
0
        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);
        }