I get the following error when I retrieve A CERTAIN EMAIL ONLY, no other email, they all work just fine.
I want to know if someone knows this error so that I can fix my code to prevent it from happening to users that will using the app, please.
Here is the raw email: http://pastebin.com/Ud2b77s6
asked Sep 01 '14 at 20:14
Thanks! Unfortunately, the raw MIME of the email doesn't help solve the problem. The issue is in the format of the BODYSTRUCTURE returned by the IMAP server. The only efficient way to solve this problem is if you can provide a temporary test IMAP account on that server with the given email in the INBOX. A different IMAP server would likely send a different BODYSTRUCTURE (also valid and conforming to the IMAP standards). If you can, please send information through private email to email@example.com. I believe it can be quickly sorted out.
answered Sep 02 '14 at 10:55
The error was by getting the emails by UID and not sequence numbers. So this popped up when there wasnt such bUID email.