Skip to main content
rakeshk21205956
Inspiring
Jun 6, 2020 8:38 AM UTC
Question

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

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

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Thom Parker
Community Expert
Community Expert
Jun 7, 2020 3:36 PM UTC

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.

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
rakeshk21205956
Inspiring
Jun 9, 2020 5:39 AM UTC

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

Translate
Thom Parker
Community Expert
Community Expert
Jun 24, 2020 7:49 PM UTC

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()".

 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Bernd Alheit
Community Expert
Community Expert
Jun 6, 2020 8:45 AM UTC

Not possible.

Translate