Sample: Use JavaScript with OOM to create an email with an attachment and display it in Outlook for sending.

This sample shows how OOM can be used with JavaScript from the command line. Use cscript to launch it – this will cause the script to write the output to the command window.   // Use this command line:  cscript test.js function test() { WScript.Echo(‘Start ————-‘); try { var outlook = new ActiveXObject(‘Outlook.Application’); var email = outlook.CreateItem(0);…

0