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

Free Support Forum - aspose.com

Blank body returned when reading MHTML

Hi,
Please try to load this file (created using Office 2016) as MHT using any combination of MHTLoadOptions you like!
Body is blank, but opening it in the Internet Explorer:
IE.png (41.2 KB)

You can also save to any format you like, the same, seems load can’t read it correctly, however, maybe this mht is complex.
BillingStatement.zip (6.3 KB)

@australian.dev.nerds

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input document.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

Hi,
Input document is already attached, and no difference how you load it, when saving in a different format, body is lost.
I’ve attached a sample project which will load my input .mht to save it as html and msg
You can see both output files are without body.
WindowsApplication33.zip (23.5 KB)
Thanks :slight_smile:

@australian.dev.nerds

Your input MHT does not open in MS Word. It also does not open in browser. Please use the valid MHT and let us know if you still face the issue.