Free Support Forum -

MSG message saved as HTML: not all tags have their closing tag pair

Dear Aspose team,

We have an .msg document, witch we are trying to save as an .html document. If we save it with outlook, every inline tag has it’s closing pair tag. If we save this .msg document with (version 18.9), we observe that the last span tag is not closed. We tried the code below:

        MailMessage mailMessage = MailMessage.Load(FilePath, msgLoadOptions);
        MapiMessage mapiMessage = MapiMessage.FromMailMessage(mailMessage);
        mapiMessage.Save(FileSavePath, SaveOptions.DefaultHtml);

Can you please look at this issue?

Files in .zip attached as: BUG-689.ZIP (30.2 KB)

Best regards,
Gergely Vándor


We were able to reproduce the issue that you reported. We have logged it in our issue tracking system for further investigation as EMAILNET-39158. We will update you as soon as additional information is available.

The issues you have found earlier (filed as EMAILNET-39158) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan