Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            string        CustID = null;
            string        Email  = null;
            string        url    = Request.Url.AbsoluteUri;
            List <string> list   = new List <string>();
            list   = CommonBizRules.DecryptEmailURL(url, HttpContext.Current);
            CustID = list[0];
            Email  = list[1];

            int i = SetMail.SelSendEmailMassage(CustID, Email, out Msg);
            if (i == 0)
            {
                CommonBizRules.SuccessRedirect("", "认证邮箱设置成功", this.Context);
            }
        }
    }