Example #1
0
        private static String resetPasswordContent(users user, string baseUrl)
        {
            String url = "";

            url = String.Format("{0}/reset/users/{1}/{2}", baseUrl, HashTool.GetMd5Hash(user.userID.ToString()), user.userID);


            String content = String.Format(
                @"
請點擊下方連結以重設您的joFriend帳號密碼:
{0}
", url);

            return(content);
        }
Example #2
0
        private static String validateContent(users user, string baseUrl)
        {
            String url = "";

            url = String.Format("{0}/activate/users/{1}/{2}", baseUrl, HashTool.GetMd5Hash(user.userID.ToString()), user.userID);


            String content = String.Format(
                @"
請點擊下方連結以驗證您的joFriend帳號:
{0}
", url);

            return(content);
        }