Copy link to clipboard
Copied
Hello!
I was wondering, is there a way to use acrobats email function without attaching the file to the mail?
I just want to mail some information regarding the file not the file itself since it usually is very heavy files I work with.
But when I use this.mailDoc it automatically attaches the file.
There's a method called app.mailMsg which allows you to generate a normal email, without any PDF attachments, but it won't work in Reader.
Another option is to use the app.launchURL method (which does work in Reader) and use a "mailto:" command as its target URL.
That will cause an email to be generated, via the browser.
Copy link to clipboard
Copied
There's a method called app.mailMsg which allows you to generate a normal email, without any PDF attachments, but it won't work in Reader.
Another option is to use the app.launchURL method (which does work in Reader) and use a "mailto:" command as its target URL.
That will cause an email to be generated, via the browser.
Copy link to clipboard
Copied
Is there somewhere where I can view all the different methods?`I have tje "Developing Acrobat Applications Using Javascript Booklet" but all the methods arent listed.
Copy link to clipboard
Copied
There's a good explanation of them here: https://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address
Copy link to clipboard
Copied
Also, you will need the Acrobat JavaScript API document - hundreds of pages listing all methods, properties, and key info like what works with Reader. This is part of the Acrobat SDK. I recommend you use the SDK for the version of Acrobat you own. DON'T just search for the Acrobat JavaScript API, the online document is for a very old version.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now