0 votes

Hi,

Email returned by IMail is returning Body as empty and the attachments have File Name and encoding type as null which errors out while serializing it.

by (850 points)
Please send us the raw eml version of the email you have problems parsing:
https://www.limilabs.com/blog/save-raw-eml-file-imap-pop3
You can find the support email address on the bottom of this page.

2 Answers

0 votes
 
Best answer

Unfortunately without the email in question we're not able to verify or react to this report.

Please note that IMail.Text and IMail.Html may be empty, if they are not specified. MimeData.FileName may be null, if sender doesn't specify it. Use MimeData.SafeFileName if you want the auto generated name in such case.

by (301k points)
–1 vote

I can see the email text when opened in outlook !! What do you mean by Raw eml version? How can I send that to you?

by (850 points)
I send you the link. Please follow it and read it:
https://www.limilabs.com/blog/save-raw-eml-file-imap-pop3

It's hard to believe that both IMail.Text and IMail.Html are empty. It is possible, but it doesn't happen very often.

As a side note: please don't add answers - modify your original questions or add comments instead.
...