PDF Security & Access Issues

Can Adobe Acrobat mailDoc Send Different Files From a PDF Button?

Tauseeq MagsiTauseeq Magsi Nov 19, 2026 869 views

Question details

Determine whether an Acrobat JavaScript button can email different files automatically using mailDoc.

Can Acrobat mailDoc Send Different Files From a PDF Button?
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A PDF author wants a button's Mouse Up event to send different files by email.
Observed behavior
The desired workflow would automatically attach separate files rather than email the current PDF.
Before you start

Identify whether you need to email the current PDF, submit form data, or attach separate files. Have the intended files and recipient's email address ready.

Solution 1Recommended

Attach Separate Files in an Email Client

Use an email client when you need to send files other than the current PDF.

Acrobat's mailDoc method is intended to email the current PDF, not arbitrary files selected by a button script. Security restrictions prevent a PDF button from using mail functions to attach unrelated files automatically.

Form submission can send form data, but attachments may be wrapped in FDF rather than sent as separate files, making it impractical for this purpose.

1
Create a message

Open your email client, select Compose or New Message, and enter the recipient.

2
Attach the files

Select Attach or the paperclip button, then choose each file you want to send.

3
Review and send

Check the recipient and attachment list, then select Send.

Attach Separate Files in an Email Client
Sending the current PDF: If you only need to email the current PDF, mailDoc may be suitable. Email client prompts and security settings can still affect the workflow.
Free Microsoft Office alternative

Work With PDFs and Office Files in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Microsoft Office files. Its format compatibility helps make migration straightforward, but it does not bypass Acrobat's mailDoc security restrictions.

Open and review PDFs before sharing them by emailWork with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface to ease the move from Microsoft OfficeAccess document tools in a lightweight, free office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can an Acrobat button use mailDoc to attach a different file?

No. Acrobat's mailDoc method emails the current PDF; security restrictions prevent a button script from using it to attach arbitrary files.

Can I email the current PDF with mailDoc?

Yes. An Acrobat JavaScript button can call mailDoc for the current PDF, although the email client or security settings may require user confirmation.

Can a PDF form submission send files as normal email attachments?

Form submission can send data, but attachments may be packaged in FDF rather than delivered as separate files. For separate attachments, use your email client's Attach button.

Does WPS Office remove Acrobat's mailDoc restrictions?

No. WPS Office can help you work with PDFs and Office documents, but it does not change Adobe Acrobat's JavaScript security rules.