GemBox Support Forum

Image is not loaded in exported .mhtml format

I am trying to use GemBox.Email to save an html to .mhtml format. The original html has external link images. When I open the .mhtml file in Microsoft Edge, the images are not loaded. Although opening the .mhtml file in Internet Explorer the images are loaded correctly. Please advise how to fix this broken images issue in Microsoft Edge?

Hi Aileen,

Can you send us your HTML so that we can reproduce this issue?

Also, have you checked Microsoft Edge DevTools, does it show any errors?


I believe that Edge will show you the following error: Not allowed to load local resource

That limitation is because of security reasons, it prohibits this behavior as it can be used for malicious purposes.

I believe you can find online some resources that explain how to disable this on Chromium-based browsers, however, I wouldn’t recommend it.