Issue With Multipart Hypertext Files Sent via E-mail

Applies to TestComplete 14.91, last modified on July 20, 2021

With TestComplete you can export test results to a Multipart Hypertext file (.mht), attach this file to an e-mail message and send this message. MHT files can not be secured. The operating system typically opens them in the Restricted sites mode, so if you receive a message with an .mht file attached, you may be unable to view the file correctly (most likely you will see an empty window).

To work around the problem:

  1. Save the attached .mht to hard disk.

  2. Open Windows Explorer and locate the saved file in it.

  3. Try viewing the file with Internet Explorer. If you can view the file, you are done. Else, right-click the file in the Windows Explorer and select Properties from the context menu. This will call the File Properties dialog.

  4. On the General page of the dialog click Unblock. Press OK to close the dialog.

Now the .mht file can be viewed.

See Also

Sending Results via E-Mail - About
Exporting Test Results
Sending Email From Scripts

Highlight search results