Email Button Javascript no error, but no email generates either
Fairly new to java and have worked through a few things, but cannot figure this email issue - trying to create a submit button that does the following:
Hardcodes to an email.
Hardcodes cc 2 emails.
Combination of hardcoded and pulled fields for subject.
Hardcodes body.
I currently have this:
var cSubLine = "After Pricing Change Form | Approval Requested " + this.getField("Dept").value + this.getField("Ad Week").value + " Page " + this.getField("Page #").value;
this.mailDoc({bUI:true, cTo: "sample@email.com", cCc: "sample1@email.com;sample2@email.com", cSubject: cSubLine, cMsg: "Please approve this attached After Pricing Change Form."});
When you click it, the button does nothing, but there is not any error that apprears in the debugger either so I feel like I am just missing something apparent. Any help is appreciated.
