Free Support Forum -

Format-Issue converting MHTML to HTML


I have a Sourcefile in an MHTM-Format (Created out of an Aspose.Email.MailMessage)
Later i have to convert this file into a HTML-File.
I load this message again into a Aspose.Email.MailMessage and then i call

mailMessage.Save("ANewHTMLFile.html", new Aspose.Email.HtmlSaveOptions());

After that, the Tab-Spaces in the mailheader ("From,To,Subject… and so on) are gone!
They stick on the very left side exaclty beside those labels…

I have attached a Sample code which i use & the files to reproduce.

Thanks in (693.2 KB)

Ps.: I’m using the latest version via GitHub (

At the moment, tab-spaces are only available if it is saved as MHTML. So, we have logged this issue with ID “EMAILNET-39206” for further investigation. You will automatically be informed here once we have more information to share.

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