Context : Mail.dll 3.0.21294.1630, licensed release
I'm trying to get messages from Exchange mailbox that contains corrupted email with Pop3 components.
Unfortunately, the program raises "MESSAGE CORRUPTED" exception (Pop3ResponseException)., although that I can correctly open those messages with Outlook.
const string K_Server = "outlook.office365.com";
const string K_eMail = "email@example.com";
const string K_Password = "xxxxxxxxxxxx";
using (Pop3 pop = new Pop3())
List<string> uids = pop.GetAll();
MailBuilder builder = new MailBuilder();
foreach (string s in uids)
byte data = pop.GetMessageByUID(s);
IMail iMail = builder.CreateFromEml(data);
Any help would be nice. Thanks.