Step 1: Check us out

You don't have to be a member to look at any content on the site. Increase your expertise with our helpful tutorials, videos, forums, and sample PDFs.

Step 2: Sign up for a free account

Like what you see? Take the next step and become a member. Register now to get discounts, attend eSeminars, ask questions and more.

Step 3: Start participating

Get the most out of your membership. Post in the forums, create your profile, submit to the gallery, attend a user group meeting. Log In now.

Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2010-02-03 09:48:51

kyphote
Member
Registered: 2010-02-02
Posts: 3

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

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@blahblah.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

Offline

 

#2 2010-02-03 10:45:41

try67
Expert

Registered: 2008-10-30
Posts: 1105

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

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.


Check out my custom-made scripts website: http://try67.blogspot.com

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson