andyedinborough / aenetmail

C# POP/IMAP Mail Client
370 stars 153 forks source link

Headers not loading properly #159

Open mujic opened 10 years ago

mujic commented 10 years ago

Hello,

I'm facing the problem, that the imap headers are not loaded properly at certain emails. I'm loading the mails this way:

imap.SearchMessages(SearchCondition.New());

Somehow the header is cut off, where the first part is part of the header and the other part, moves to the body. In the email body I see the header parts like this:

Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: yes ... ..

That happens with current GitHub Version of the project. I used the current NuGet - Package before, where the problem occurs in a different way. The body is ok, the attachments are included, but they are saved as .dat - files.

Any suggestions?

Best regards, Nele

jstedfast commented 10 years ago

Since this has gone so long without suggestions, I won't feel bad about suggesting that you try MailKit instead. MailKit's MIME and IMAP parsers are both far more robust (and rfc-compliant) than AE.Net.Mail's parsers.