VS2005发送邮件问题:在126,163下链接没办法直接点击打开;但Gmail可以。怎么解决
邮件可以发送成功,但www.csdn.net的链接在126,163等邮件中不能直接打开,而只能拷贝到地址栏再打开
请高手帮忙解决
代码如下:
//protected void Btn_submit_Click(object sender, EventArgs e)
//{
// MailMessage mailMessage = new MailMessage();
// string strBody;
// mailMessage.From = new MailAddress( "wzn@wzn.com.cn ");
// mailMessage.To.Add(model.UserEmail);
// mailMessage.Subject = "邮件标题 ";
// mailMessage.IsBodyHtml = true;
// strBody = "www.csdn.net "+ " <br> ";
// mailMessage.Body = strBody;
// sendMail(mailMessage);//调用发送邮件函数
//}
//发送邮件函数
//private void sendMail(MailMessage mail)
// {
// SmtpClient smtpClient = new SmtpClient();
// smtpClient.EnableSsl = false;
// smtpClient.Host = "mail.wzn.com.cn ";
// smtpClient.Port = 25;