These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Creating email body copy and CC when "submit form" is clicked

kyphote
Registered: Feb 2 2010
Posts: 6

I'm a huge newbie attempting to create a button within a pdf form that opens an email pre-populated with the "To:" address and "Subject:". Below is the script I'm using to do this. Is there any code I can add so that the email is populated with a message in the body and a name in the "CC" field, as well? I've scoured this forum and have found an answer to this question in bits and pieces but haven't been able to combine it all into a single code. Here's the script I'm using, which I hope can be adjusted to fit my needs:

this.mailDoc ({
cTo:
"recipient [at] blahblah [dot] org", cSubject: "testing",});

I really, really appreciate the help and apologize for what I assume is a basic question!

My Product Information:
Acrobat Pro 9.2, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
You need to download the Acrobat JavaScript Reference files. It's all described there.

Use the parameters cCc to setup a list of semicolon-separated CC recipents and cMsg to set the body of the email.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com