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

Free Support Forum - aspose.com

Loading of Eml fails


There is a problem with the new release of Aspose.Network. Altough the enclosed eml contains two parts ( a plain text part and a html part) Aspose.Networks just regonizes the text part.

So this code fails, because message.AlternateViews returns the text/plain part but not the html part:

MailMessage message;
using (MemoryStream ms = new MemoryStream(data))
message = MailMessage.Load(ms);
foreach (AlternateView av in message.AlternateViews)

The former version of Aspose.Network worked differently. Please have a look, why one AlternateView is missing.

Thank you.

Dear Andre,

Thanks for your post!

We are working at your issue and will back to you ASAP!


Any progress on this?



We finally located the root, and fixed it. I will publish a hofix soon.

Thanks for the considering.

We have fixed this bug.

Please check it out.



With the new version we couldn´t reproduce the problem.

Thank you very much.

Dear Andre,

Thanks for your help.

Best regards.