GetMessageCount() returns 0 (zero)
问题 public class _Variable { public bool MailStat; public Pop3Client pop3; public int lastmailCount; public int currentmailCount; public Message msg; public MessagePart msgPart; public Timer _timer; } public List<int> _MailReader() { _Variable _var = new _Variable(); try { //HttpContext.Current.Session["Pop3Client"] if (HttpContext.Current.Session["Pop3Client"] == null) { _var.pop3 = new Pop3Client(); _var.pop3.Connect("pop.gmail.com", 995, true); _var.MailStat = _var.pop3.Connected; _var.pop3