Skip to main content
heresha93876846
Inspiring
November 7, 2016
Answered

This.mailDoc without attaching the file

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.

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
November 7, 2016

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.

4 replies

heresha93876846
Inspiring
November 9, 2016

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.

Translate
try67
Community Expert
Community Expert
November 9, 2016

There's a good explanation of them here: https://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address

Translate
try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
November 7, 2016

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.

Translate