Exemplo n.º 1
0
 public static void SendVerifyEmail(string emailAddress, string verifyString, string langName)
 {
     Lang lang = new Lang(langName);
     lang.AddKeyword("Account.Email.VerifyEmail.Subject");
     lang.AddKeyword("Account.Email.VerifyEmail.Body");
     lang.GetTranslationFromSQL();
     string subject = lang.GetTrans("Account.Email.VerifyEmail.Subject");
     string body = lang.GetTrans("Account.Email.VerifyEmail.Body");
     body = body.Replace("\\n", "\n").Replace("{URL}", "http://account.UnsolvedCrime.ca/VerifyEmail/emailAddress=" + emailAddress + "/verifyString=" + verifyString + "/");
     SendAdminEmail(emailAddress, subject, body);
 }