MailBee.Global.LicenseKey="MN120-4D85859185028557858C3FACA47A-32BD";
Console.WriteLine("Start");
pop.Log.MemoryLog = true;
pop.Connect("pop.exmail.qq.com",995);
pop.Login("support@missacc.com", "Ma2021$$");
Console.WriteLine("Successfully logged in." + pop.Log.GetMemoryLog());
Console.WriteLine("POP3 server replied with a negative response at login:" + ex.ToString() + pop.Log.GetMemoryLog());
if (pop.IsLoggedIn && pop.InboxMessageCount > 0)
MailMessage msg = pop.DownloadEntireMessage(pop.InboxMessageCount);
if (!string.IsNullOrEmpty(msg.BodyHtmlText))
Console.WriteLine(msg.BodyHtmlText);
else if (!string.IsNullOrEmpty(msg.BodyPlainText))
Console.WriteLine(msg.BodyPlainText);
Console.WriteLine("The message body is empty.");