TestComplete samples (both built-in and additional) are located in the <Users>\Public\Public Documents\TestComplete 15 Samples folder.
Some file managers display the Public Documents folder as Documents.
The section below describes how you can send email messages from your script tests:
Via Microsoft Outlook
An example of sending an email message with attachments via Microsoft Outlook is given in the <TestComplete Samples>\Common\MSOffice sample project that interacts with Microsoft Outlook (for the VBScript, JScript, и DelphiScript languages). These samples apply only to desktop Outlook versions.
Notes:
-
To use the sample project, download the TestComplete Samples installation package from the https://support.smartbear.com/testcomplete/downloads/samples/ page of our website and run it.
-
The .mht files cannot be secured. If you send them via email, the recipient’s mail client may open these files in the Restricted sites mode and thus the files may display incorrectly. For more information on how to work around this problem, see Issue With Multipart Hypertext Files Sent via E-mail.