Пример #1
0
        /// <summary>
        ///
        /// </summary>
        public static void BulidConfirmAddress(StringBuilder mailContent, Account to, int outApplicationID)
        {
            string url =
                string.Format("{0}?accountId={1}&Id={2}", RequestUtility.OutMailConfirmAddress(),
                              SecurityUtil.DECEncrypt(to.Id.ToString()),
                              SecurityUtil.DECEncrypt(outApplicationID.ToString()));

            mailContent.Append(
                "您可点击 <a href='" + url + "' style='color:#0000FF;text-decoration:underline;'>同意</a> 快速审批<br/>");
            mailContent.Append("您也可以点击以下链接快速审批通过:<br/>");
            mailContent.Append("<a href='" + url + "' style='color:#0000FF;text-decoration:underline;'>" + url +
                               "</a><br/>");
            mailContent.Append("如果您不通过此申请,可登录以下网址进行审批<br/>");
        }