110,535
社区成员
发帖
与我相关
我的任务
分享
//SmtpClient mclient = new SmtpClient();
//MailAddress from = new MailAddress("594455635@qq.com", "zouyan");
//MailAddress to = new MailAddress("912991725@qq.com");//收信人地址
//MailMessage msg1 = new MailMessage(from, to);
//msg1.Subject = "VIVI新娘Club贵宾会员详细信息";
//msg1.IsBodyHtml = true;
//msg1.BodyEncoding = Encoding.UTF8;
//msg1.Body = "<html><head><style type='text/css'>#mytable {width: 100%;padding: 0;margin: 0;}th {color: #4f6b72;border-right: 1px solid #C1DAD7;border-bottom: 1px solid #C1DAD7;border-top: 1px solid #C1DAD7;letter-spacing: 2px;text-transform: uppercase;text-align: left;padding: 6px 6px 6px 12px;background: #CAE8EA no-repeat;font-family: 宋体, Arial;font-size: 18px;} td {border-right: 1px solid #C1DAD7;border-bottom: 1px solid #C1DAD7;background: #fff;font-family: 宋体, Arial;font-size: 16px;padding: 6px 6px 6px 12px;color:black;}</style></head><body>" +
// "<b>VIVI新娘Club贵宾会员详细信息:</b><br/><br/>" +
// "<table border='1' id='mytable' cellspacing='0' cellpadding='0'><tr><th nowrap >特惠活动代码</th><th nowrap>贵宾姓名</th><th nowrap>手机号码</th><th nowrap>固定电话</th><th>QQ</th></tr>" +
// "<tr><td nowrap>" + Request["ipNo"].Trim() + "</td>" +
// "<td nowrap>" + Request["ipName"].Trim() + "</td>" +
// "<td nowrap>" + Request["ipMobilePhoto"].Trim() + "</td>" +
// "<td nowrap>" + guding + "</td>" +
// "<td nowrap>" + Request["ipQQ"].Trim() + "</td></tr>" +
// "<tr><th>MSN</th><th>电子邮件</th><th nowrap>邮政编码</th><th colspan='2'>地址</th></tr>" +
// "<tr><td nowrap>" + msn + "</td>" +
// "<td nowrap><a href='mailto:" + Request["ipEmail"].Trim() + "'>" + Request["ipEmail"].Trim() + "</a>" + "</td>" +
// "<td nowrap>" + post + "</td>" +
// "<td nowrap colspan='2'>" + address + "</td></tr> </table></body></html>";
//mclient.Send(msg1);
//Page.RegisterStartupScript("", "<script>alert('信息填写完毕,稍后我们会尽快与您联系。');window.location.href='ClubMember.aspx';</script>");