Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

This.mailDoc without attaching the file

Explorer ,
Nov 07, 2016 Nov 07, 2016

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.

TOPICS
Acrobat SDK and JavaScript , Windows
1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 07, 2016 Nov 07, 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
Community Expert ,
Nov 07, 2016 Nov 07, 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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 09, 2016 Nov 09, 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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2016 Nov 09, 2016
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 09, 2016 Nov 09, 2016
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines