jmail.Message Msg = new jmail.Message();
        jmail.POP3 jpop = new jmail.POP3();        jmail.Attachments atts;
        jmail.Attachment att;        string POPAddress, MailUsername, Mailpassword;
        POPAddress = "aa.aa.net";
        MailUsername = "bbc";
        Mailpassword = "ccc";        jpop.Connect(MailUsername, Mailpassword, POPAddress, 110);

解决方案 »

  1.   

    为什么用jmail收下来的邮件标题会乱码呢?
      

  2.   


            jmail.Message Msg = new jmail.Message();
            jmail.POP3 jpop = new jmail.POP3();
                    jmail.Attachments atts;
            jmail.Attachment att;        string POPAddress, MailUsername, Mailpassword;
            jpop.Connect(MailUsername, Mailpassword, POPAddress, 110);        Web2ASPNET2.ASPNET2AjaxMail.Mail ajaxMail = new Web2ASPNET2.ASPNET2AjaxMail.Mail();
            //如果服务器上有邮件
            if (jpop.Count >= 1)
            {
                for (int i = 1; i <= jpop.Count; i++)
                {                Msg = jpop.Messages[i];                atts = Msg.Attachments;
    就是这样,有的标题会乱码,有的不会
      

  3.   

    好久不用jmail了,ms自己的发邮件类库写到就很好。简单实用。