Edge v93 - v96 opens .MHT Files but shows no content ("white page")

%3CLINGO-SUB%20id%3D%22lingo-sub-2841951%22%20slang%3D%22en-US%22%3EEdge%20v93%20-%20v96%20opens%20.MHT%20Files%20but%20shows%20no%20content%20(%22white%20page%22)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2841951%22%20slang%3D%22en-US%22%3E%3CP%3ERecently%20Edge%20started%20to%20be%20the%20Default%20File-Type-Association%20for%20.MHT%20Files.%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3EBut%20it%20seems%20the%20.MHT-File-Support%20is%20not%20implemented%20to%20Support%20true%26nbsp%3B%3CSPAN%3Emultipart%2Frelated%26nbsp%3BMIME%26nbsp%3Bencapsulation%20of%20aggregate%26nbsp%3BHTML%26nbsp%3Bdocuments%20but%20only%20certain%20style%20of%20%22IE11-exported%20.mht%20Websites%22.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20a%20ton%20of%20.mht%20Files%2C%20they%20are%20usually%20generated%20from%20MIME-formated-Mails.%20Default-Viewer%20was%20Internet%20Explorer%2011%20which%20renders%20those%20Files%20very%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20Edge%20(I%20tested%20v93%2C%20v94%2C%20v95%20Beta%20as%20well%20as%20v96%20Dev)%20cannot%20render%20those%20.mht%20Files%2C%20shows%20only%20a%20%22white%20Page%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrent%20Workaround%3A%20I%20configured%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fmicrosoft-edge-policies%23open-local-files-in-internet-explorer-mode-file-extension-allow-list%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EEdge%20Policies%20to%20open%20locally%20stored%20.mht%20Files%3C%2FA%3E%20to%20open%20in%20Edge-IE-Mode.%20That%20works%20fine%2C%20so%20currently%20we%20can%20use%20this%20workaround%20as%20a%20solution.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20if%20Edge%20should%20be%20able%20to%20render%20.mht%20Files%20in%20a%20useful%20way%20itself%20then%20Edge%20has%20to%20support%20all%20styles%20of%20the%20MHTML-Standard.%20Wikipedia%20%3CA%20href%3D%22https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMHTML%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMHTML%3C%2FA%3E%20pointed%20me%20to%20a%20useful%20website%20where%20all%20styles%20of%20MHTML-Documents%20are%20listed%20with%20Samples%2C%20I%20mirrored%20those%20samples%20to%20my%20Webserver%2C%20URL%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fhitco.at%2Fmht-test%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fhitco.at%2Fmht-test%2F%3C%2FA%3E%26nbsp%3Bto%20quickly%20check%20those%20with%20Edge.%20These%20samples%20all%20don't%20work%20at%20all%20in%20Edge%20but%20work%20fine%20in%20IE%20or%20in%20Edge%20in%20IE-Mode.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ESo%20please%20have%20a%20look%20at%20this%20functionality%2C%20you%20cannot%20configure%20Edge%20as%20Default%20for%20.mht%20Files%20without%20really%20supporting%20the%20MHTML-Standard%20in%20a%20proper%20way!%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Recently Edge started to be the Default File-Type-Association for .MHT Files.

But it seems the .MHT-File-Support is not implemented to Support true multipart/related MIME encapsulation of aggregate HTML documents but only certain style of "IE11-exported .mht Websites".

 

We have a ton of .mht Files, they are usually generated from MIME-formated-Mails. Default-Viewer was Internet Explorer 11 which renders those Files very well.

 

But Edge (I tested v93, v94, v95 Beta as well as v96 Dev) cannot render those .mht Files, shows only a "white Page".

 

Current Workaround: I configured Edge Policies to open locally stored .mht Files to open in Edge-IE-Mode. That works fine, so currently we can use this workaround as a solution.

 

But if Edge should be able to render .mht Files in a useful way itself then Edge has to support all styles of the MHTML-Standard. Wikipedia https://en.wikipedia.org/wiki/MHTML pointed me to a useful website where all styles of MHTML-Documents are listed with Samples, I mirrored those samples to my Webserver, URL: https://hitco.at/mht-test/ to quickly check those with Edge. These samples all don't work at all in Edge but work fine in IE or in Edge in IE-Mode.

 

So please have a look at this functionality, you cannot configure Edge as Default for .mht Files without really supporting the MHTML-Standard in a proper way!

0 Replies