Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        public static void BulidConfirmAddress(StringBuilder mailContent, Account to, int overWorkID)
        {
            string url =
                string.Format("{0}?accountId={1}&Id={2}", RequestUtility.OverWorkMailConfirmAddress(),
                              SecurityUtil.DECEncrypt(to.Id.ToString()),
                              SecurityUtil.DECEncrypt(overWorkID.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/>");
        }