How can I attach a PDF in an email, using an interactive button in the PDF-document?
I tried to create a form button with the menu action 'attach this PDF in an email'.
This Send.to-action doesn't work with Microsoft.
Does anyone has a solution by implementing a javascript-code for this in the PDF?
With a form button you can aply the action 'Attach to Email...' from the Acrobat Reader menu.
The PDF runs on a Mac without a problem. When you push the 'send to' button it opens Mail and attaches the entire PDF to you mail.
In Microsoft this doesn't work. The button doesn't open Outlook.
So maybe one can use a javascript like mailDoc for this action? But how?
Just add a Run a JavaScript action with this code:
this.mailDoc();
But like I said, I don't think it would work if the menu item didn't work,
since they both do basically the same thing.
Is Outlook set-up as the default email client on your system? Was the file
saved before you tried to email it?
In our company we use different systems. As a designer I am using a Mac, standard with Mail.
Our account managers use Windows, standard with Outlook.
Our client is having the same difficulties with Outlook.
It is an interactive PDF i made with Adobe Acrobat Professional.
The button is used to attach the PDF file the user is reading.
I use an other javascript for a popmenu and this is working.
But adressing mail is difficult in Microsoft.
Adressing Mail on a Mac works.
Example of sending a URL with Mail by using javascript:
var cMyMsg = "First text line of the message:\n\n" +
"\"Second text line with url (example): http://www.linktothedocument.pdf\n\n";
app.mailMsg({
bUI: true,
cSubject: "Name of the document",
cMsg: cMyMsg
} );
But this doesn't work on a Windows machine with Outlook 2010 either. ![]()
Dick,
Thanks for your replie.
Nice alternative, but it still doesn't work on a Windows machine when the
mail software from Microsoft doesn't react on PDF actions.
You can do many things in Acrobat, but it is a problem when it doesn't work
on Windows and iPad.
So now I am looking for alternatives like interactive magazine software
(based on html5).
2012/5/11 dick the flash <forums@adobe.com>
**
Re: How can I attach a PDF in an email, using javascript in PDF
document?
created by dick the flash <http://forums.adobe.com/people/dicktheflash>in
JavaScript - View the full discussion<http://forums.adobe.com/message/4395927#4395927
North America
Europe, Middle East and Africa
Asia Pacific