没有设置SMTPSERVER服务器的地址,用户名,密码
搜索一下旧贴吧。

解决方案 »

  1.   

    http://wacle.blogdriver.com/wacle/171056.html
      

  2.   

    是不是接受方把你当成垃圾邮件了?
    mail.From="[email protected]";
    如果你从163往163发,肯定不行,163的服务器好像有验证,改一下试试:
    mail.From="[email protected]";
      

  3.   

    myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
    myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", SmtpUserName); //Smtp Server 上的用户名
    myMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", SmtpUserPassWord)请问这三个key怎么获得,163的是多少?