We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception when trying load EML file (System.FormatException)

Hi,

I got an issue trying to load some eml files, the exception message is:

--System.FormatException: Multipart mime document has incorrect structure.

I am using the latest version of Aspose.Email.

I have one eml file, if you needed just let me know.

Please if there is something that you could do to fix this I'll really apreciate.

Thanks,

Hi Gerardo,


Thanks for writing to Aspose.Email support team.

Please send us the sample EML file as it will help us to analyze the problem and assist you as soon as possible.


Hi Kashif,


Code:

MailMessage message = MailMessage.Load(“example.eml”, MessageFormat.Eml);

Attached the example file.

Regards,

Thanks,

Hi Gerardo,


Thanks for providing supporting material.

I have analyzed it and reproduced the System.FormatException successfully by loading the EML. I have passed the information to our development team and will write back here as soon as some feedback is received from the developers.

This issue is logged in our issue tracking system as NETWORKNET-33515.

The issues you have found earlier (filed as NETWORKNET-33515) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.