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

Attach PDF file to the Email on Submit (which is as attachments to the orginal Form)

Engaged ,
Jun 06, 2020 Jun 06, 2020

Copy link to clipboard

Copied

I have one Main Form which has 6 PDF Files Attached into it.

 

Now i want when the user click the submit button..... 3 specific files (which are as attachment to the main form)  are attached to the email (not the Main form) .

 

 

Is this possible.?

 

Thanks

TOPICS
Acrobat SDK and JavaScript

Views

514

Translate

Translate

Report

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 ,
Jun 06, 2020 Jun 06, 2020

Copy link to clipboard

Copied

Not possible.

Votes

Translate

Translate

Report

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 ,
Jun 07, 2020 Jun 07, 2020

Copy link to clipboard

Copied

Acrobat will only email one document at a time. So a script could send 3 emails. Each with one document attachment.  

However, this will cause the email UI to be displayed 3 times.

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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
Engaged ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

Thanks for the reply......

 

if can explain how to add an attachment of a main pdf form as an email attachment. (dont want the main form to be attached.. only the attachment of the main file).

 

thanks

Votes

Translate

Translate

Report

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 ,
Jun 24, 2020 Jun 24, 2020

Copy link to clipboard

Copied

LATEST

The "doc.mailDoc()" function emails the current PDF document. So, if these attachments are PDF files, then use the "doc.openDataObject()" function to open the PDF attachment and then send it with "doc.mailDoc()".

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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