theMailMessage.From = this.From;
theMailMessage.To = sEmailAdress;
theMailMessage.Body = sMessage;
theMailMessage.Subject=sTitle;
theMailMessage.BodyFormat=MailFormat.Html;
theMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
theMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", theConfig.EmailUserID);
theMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", theConfig.PassWord);
SmtpMail.SmtpServer = theConfig.SmtpServer;
SmtpMail.Send(theMailMessage);
我用的是smtp server 是 smtp。163。com
我给公司内部邮箱可以发送成功,没有任何出错信息的,但是就是收不到的。
给另外一个163邮箱发,可以收到,真是奇怪了
theMailMessage.To = sEmailAdress;
theMailMessage.Body = sMessage;
theMailMessage.Subject=sTitle;
theMailMessage.BodyFormat=MailFormat.Html;
theMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
theMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", theConfig.EmailUserID);
theMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", theConfig.PassWord);
SmtpMail.SmtpServer = theConfig.SmtpServer;
SmtpMail.Send(theMailMessage);
我用的是smtp server 是 smtp。163。com
我给公司内部邮箱可以发送成功,没有任何出错信息的,但是就是收不到的。
给另外一个163邮箱发,可以收到,真是奇怪了
看来不是被163过滤掉的!!!