后台代码:       POP3Class jpop = new POP3Class();        jpop.Connect("[email protected]", ">gyy52024", "pop.gmail.com", 995);
 
   但在调用Connet 时报了下面的“重新设置客服端” 的错             Connection reset by client.   怎样解决呀??   非常感谢!!

解决方案 »

  1.   

    Gmail好像要登录到服务器去设置成允许pop的
      

  2.   

    我看了下Gmail的客户端列表Apple Mail 3.0
    Outlook Express
    Outlook 2002
    Outlook 2003(请参阅我们的动画演示)
    Outlook 2007
    Thunderbird 2.0
    Windows Mail
    所以Jmail可能不行
      

  3.   

    我在网上找了下 SSL 
    给个链接你自己看看 http://topic.csdn.net/u/20070811/14/9909fffa-128b-4b11-88ef-a0d157e3f2f0.html
      

  4.   

    jmail.Message jmail= new jmail.Message();    
            string Subject="這是一封測試郵件";
            string FromEmail = "[email protected]";
            string ToEmail = "[email protected]";
            jmail.Silent = true;
            jmail.Logging = true;
            //jmail.Charset = "GB2312";
            //jmail.ContentType = "text/html";
            jmail.AddRecipient(ToEmail, "", "");
            //Jmail.AddRecipientCC("[email protected]","Harry","");  //抄送
            //Jmail.AddRecipientBCC("[email protected]","Harry",""); //密送
            jmail.From = FromEmail;
            jmail.MailServerUserName = "[email protected]"; //用户名
            jmail.MailServerPassWord = "123456";//密码
            jmail.Subject = Subject;
            //jmail.Body = "dsfsdstfwestfwesrfawes";
            //Jmail.AddAttachment("c:\\1.txt",false,"text/html") ;//附件
            jmail.GetMessageBodyFromURL("http://www.123.com", ""); //关键是这句了。这句就是我今天 想要说的功能。后面的参数是可先的,代表如果此网页要验证的话才写的格式是:"username:password"
            jmail.Send("mail.luenfungwatch.net", false);
            //Jmail.Send("smtp.163.com", false);
            jmail.Close();
      

  5.   

    我才把帖子给结了,那个叫gan_yy的发给我了一份,不然我另外开个贴给你分加上。