jmail.POP3 popMail = new jmail.POP3();

            jmail.Message mailMessage;
            jmail.Attachments atts;
            jmail.Attachment att;
            string pop = "mail.xx.com";
            popMail.Connect("xx@xx.com", "xxxx", pop, 110);
            for (int i = 1; i <= popMail.Count; i++)
            {
                mailMessage = popMail.Messages[i];
                atts = mailMessage.Attachments;
                mailMessage.Charset = "gb2312";
                mailMessage.ContentTransferEncoding = "base64";
                mailMessage.Encoding = "base64";
                mailMessage.ISOEncodeHeaders = false;
                MessageBox.Show(mailMessage.Subject);
            }

            popMail.Disconnect();