Free Support Forum - aspose.com

Loading of Eml fails

Hello.

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.
Andre

Dear Andre,

Thanks for your post!

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

Hello.

Any progress on this?

Andre

Hello,

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.

http://www.aspose.com/Community/Files/54/aspose.network/category1102.aspx

Thanks,

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

Thank you very much.
Andre

Dear Andre,

Thanks for your help.

Best regards.

-iret