Copy link to clipboard
Copied
Hello,
I have a question.
I am using the javascript code below to email a pdf file as an attachment in my email.
But the only problem is that it will create a attachment for the complete document.
Is there a way to send only a specific page ?
var url = "mailto:testemail@test.com?subject=My Subject&body=Here is my form data.";
this.submitForm({cURL: url, cSubmitAs: "PDF"})
Copy link to clipboard
Copied
Will your end users (the people sending the mail) all have Acrobat Pro? (I ask because the free Reader can't extract pages).
Copy link to clipboard
Copied
Thank you very much for youre reply
They are all using Acrobat Reader DC (not the pro)
Copy link to clipboard
Copied
In that case they cannot extract pages, which is the only way to email a single page.
Copy link to clipboard
Copied
You should rename the "url" variable to something else, as there's a property of the Document object with that name and it will conflict with your code.
Copy link to clipboard
Copied