The following folder script is executed on a Mac. The script works precisely as intended except that the bUI parameter "false" is ingored and the script opens the email with attachment to require user interaction to send the email. I noted the API comment "On Windows, the client computer must have its default mail program configured to be MAPI enabled to use this method." I see no similar requirement about Macs. Can anyone confirm that bUI "false" does not work on Macs. Am I wasting my time trying?
var sendRegistrationPDF = app.trustedFunction(function(sendTo, ccTo, subject, thirdParty, dataFor)
{
app.beginPriv();
this.mailDoc({
bUI: false,
cTo: sendTo,
cCc: ccTo,
cSubject: subject,
cMsg: "\r\rAttached you will find the " + thirdParty + "'s data file for " + dataFor + "\r\r"
});
app.endPriv();
app.alert("Thank you. Your information has been returned to " + sendTo);// bUI false is ignored
});