Convert to Mht produces corrupt file


#1

Hi, the attached “SR-76359 - input.eml” file is not saved to Mhtml correctly. The produced file “SR-76359 - output.Mhtml” can’t be opened by any application like Aspose.Words, MS Word or Internet Explorer.

I am using Aspose.Email 19.9 for .Net 4.
The code looks like this:

var doc = MailMessage.Load(inputPath);
doc.Save(inputPath + “.Mhtml”, MhtSaveOptions.DefaultMhtml);

SR-76359.zip (1.5 MB)


#2

@DWProject,

I have worked with sample file shared and have been able to observe the issue. An issue with ID EMAILNET-39607 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.