How to Stop PDF Forms Being Deleted by Email or Server Security
Question details
New PDF forms are being automatically blocked or deleted by email or server security systems due to false-positive macro detections.

- Product
- Device & OS
- not provided
- Scenario
- Sending or storing newly created PDF forms via email or server environments with strict security policies.
- Observed behavior
- New PDF forms are flagged as containing macros and deleted by security software, whereas older forms are accepted without issue.
Before modifying any security settings, verify that the deleted PDF form is from a trusted source and genuinely does not contain harmful embedded scripts or malicious macros.
Request a Security Exception from Your IT Administrator
The most effective way to resolve false-positive macro blocks on safe PDF forms is to have your IT team adjust the security policies.
Email servers and enterprise security software often employ strict heuristic scanning that can mistakenly identify the interactive elements or JavaScript within a new PDF form as malicious macros.
Compile the details of the blocked PDF form, including the file name, the time it was sent or stored, and the exact error or rejection message received.
Reach out to your email or server IT administrator and request them to review the detection logs for the false-positive flag.
Ask the administrator to compare the document structure and security settings of the newly blocked forms against older, accepted forms.
Request that the security team creates a safe, documented exception or whitelist rule for the specific PDF form structure if the files are fully trusted.

Flatten the PDF Form Before Sending
If the form does not need to be interactively filled out by the recipient, flattening the PDF removes interactive fields and potential macro triggers, allowing it to bypass security filters.
Create and Send Safe PDF Forms with WPS Office
WPS Office provides a comprehensive PDF toolset that creates clean, standardized PDF forms without unnecessary hidden scripts, helping you avoid strict email server security blocks while maintaining full document functionality.
- 1. Open your document: Launch WPS Office and open your existing PDF form or document.
- 2. Edit and format: Navigate to the 'PDF' tab to utilize the editing tools and finalize your form content.
- 3. Flatten if necessary: To prevent security blocks on non-interactive documents, click 'Menu', select 'Print', and choose 'Print to PDF' to flatten the file.
- 4. Save and share securely: Save the clean PDF file and securely share it via email or server without triggering macro false positives.

Frequently Asked Questions
Why do email servers flag my PDF forms as containing macros?
Advanced PDF forms often contain JavaScript or interactive form fields designed to automate tasks or validate input. Strict email security software might misinterpret these scripts as malicious macros, triggering an automatic block or deletion to protect the network.
How can I check if my PDF form actually has scripts causing the block?
You can check for scripts by opening the PDF in an advanced PDF editor, navigating to the form properties or JavaScript settings, and reviewing any document-level scripts. Removing unnecessary JavaScript can often help the file bypass overzealous security filters.
Will zipping the PDF file prevent it from being deleted by the server?
Sometimes, placing the PDF in a password-protected ZIP archive can bypass automated email security scans because the scanner cannot read the encrypted contents. However, the recipient will need the password, and some enterprise servers are configured to block all encrypted attachments by default.




