Skip to main content
heresha93876846
Inspiring
November 7, 2016
Answered

This.mailDoc without attaching the file

  • November 7, 2016
  • 2 replies
  • 2097 views

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 has been closed for replies.
Correct answer try67

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.

2 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.

try67
Community Expert
Community Expert
November 9, 2016
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.