Will someone please tell me why Adobe would remove such a useful feature as the “File>Attach to Email...” from the Link Properties dialogue box under the “Execute a menu item” - “Add” options list. The idea of an improved version, Acrobat X, is to add utility not make it less useful.
Re: Dave’s response; Sad that would have been the reasoning compelling the removal of that function when security can be managed in Acrobat’s quite comprehensive security dialogue box. What’s worse is when a document had applied that link function when created in an earlier version of Acrobat, Acrobat X can’t pick it up... can’t see it, so “suddenly” how users were able to distribute existing documents, say, in an academic setting course material to students, can’t be done upon upgrading to Acrobat X. So sad, so sad.
Direct access to menu items isn't the preferred method to execute functions available via the JSAPI, you should simply trigger the JS function on a button or link:
this.mailDoc(true);
or if you want to set the message params:
this.mailDoc({
bUI: false,
cTo: "recipient @ example.addr",
cCC: "cc @ example.addr",
cSubject: "A PDF file",
cMsg: "here is the PDF."
});
JSAPI = JavaScript API.
To use the code in bold from my previous reply, create a new link or button on your PDF page and in the dialog choose "Custom link" - then in the second dialog switch to the Actions tab and choose "Run a Javascript". Click Add, and in the editor that appears paste the code - e.g. this.mailDoc(true); - and click OK until the dialogs close.
Click your newly-created link and your file will be attached to a new email message.
North America
Europe, Middle East and Africa
Asia Pacific