Hello,
I am using the codes below for a regular submit button to submit by email and having a problem of CC address. I hard-coded the CC address but it does not seem to recognize it, it keep taking the address in the "To" to put on the CC address. Can any one please check for me if there is any wrong with the codes below on the mouse up event:
var cToAddr = "test1@abc.com";
var cCCAddr = "test2@abc.com";
//Set the subject and body text for the e-mail message
var cSubLine = "Craft Issue Tracking Form";
var cBody = "Please see the attached form.";
// Send the form data as an FDF attachment on an e-mail
event.target.mailDoc({bUI: true, cTo: cToAddr, cCc: cCCAddr, cSubject: cSubLine, cMsg: cBody});
Thanks in advance,
Han Dao