How to Fix Outlook Cannot Send a Macro-Enabled Word Document
Question details
The user is unable to send a macro-enabled Word document via Outlook, receiving an error despite having sent it successfully in the past.

- Product
- Microsoft Outlook
- Device & OS
- not provided
- Scenario
- Attempting to send an email with a macro-enabled Word document (.docm) attached to an internal or external recipient.
- Observed behavior
- Outlook blocks the transmission or generates an error message when trying to send the email containing the macro-enabled attachment.
Before proceeding, note the exact error message and code provided by Outlook, and verify that the file size does not exceed your email provider's maximum attachment limit.
Review Microsoft 365 Mail Flow and Security Policies
Check if organizational security updates are blocking macro-enabled attachments to prevent malware distribution.
Many organizations update their Microsoft 365 security policies to block files containing macros, such as .docm or .xlsm files, by default. Even if you previously sent the file successfully, a recent policy change by your IT department may now trigger an error.
Look closely at the bounce-back email or the pop-up warning in Outlook. Note down any specific error codes (e.g., 5.7.1) which indicate policy rejections.
Create a standard, non-macro Word document (.docx), attach it to an email, and try sending it to the same recipient to confirm if the block is specific to macro formats.
Reach out to your IT or Microsoft 365 Administrator. Provide them with the error code and ask if mail-flow rules or Microsoft Defender policies have been configured to quarantine or block .docm extensions.

Compress the File or Use Alternative Sharing Methods
Bypass direct attachment restrictions by compressing the document into a ZIP file or sharing a secure cloud link.
Try WPS Office for Seamless Document Management
If Microsoft Office policies restrict your workflow, consider using WPS Office. It is a lightweight, free alternative that offers high compatibility with Microsoft formats, including Word documents, and features secure cloud-sharing options to bypass email attachment limits.
- 1. Download and Install: Download WPS Office for free and install it on your device.
- 2. Open Your Document: Launch WPS Writer and open your existing Word document.
- 3. Share via Link: Click the 'Share' button in the top right corner to generate a secure cloud link, bypassing Outlook attachment restrictions entirely.

Frequently Asked Questions
Why does Outlook suddenly block macro-enabled Word documents?
Outlook and Microsoft 365 frequently update their default security definitions. Because macros can be exploited to run malicious scripts, administrators often implement mail-flow rules that block .docm and .xlsm files to protect the organization.
How can I safely send a macro-enabled document if attachments are blocked?
The most secure and reliable method is to upload the document to a cloud storage platform (like OneDrive, SharePoint, or WPS Cloud) and share the access link in your email body instead of attaching the physical file.
Can the file size be the reason my macro-enabled document won't send?
Yes. Outlook has a default attachment size limit of 20 MB (or 25 MB on some Exchange servers). If your macro-enabled document exceeds this limit, Outlook will fail to send it regardless of your organization's security policies.




