When a form notification arrives but its attachment does not, first determine whether the file was never stored, was rejected before mail creation, exceeded a mail/provider limit, or was removed after the message was built. Attachment failures sit on a different path from ordinary “form email not received” problems.
Confirm the upload exists before looking at email
Submit one controlled test file and inspect the form entry or upload storage immediately. Record original filename, size, MIME type and the path or attachment ID saved by the form plugin. If the entry contains no usable file reference, SMTP and mailbox tests are premature.
The existing guide on WordPress forms losing uploaded attachments is the right starting point for that storage layer.
Distinguish MIME validation from file extension
A .pdf extension does not prove that the uploaded content was accepted as PDF. WordPress, the form plugin, PHP and security layers can each validate type differently. Reproduce with a small known-good file and compare it with the failing file instead of relaxing allowed types globally.
Measure the complete message size
The relevant limit is not only the uploaded file size. Mail transport can add encoding overhead and a notification may carry several files. Compare the raw attachment total with PHP/form limits and the sending provider’s documented message limit. If large files are normal, storing them securely and sending an expiring download link can be more reliable than attaching binaries to email.
Check when temporary files disappear
Some form systems build mail after an asynchronous action. A temporary upload can exist at submit time but be deleted before the mail worker reads it. Log the stored path and timestamp at capture, queue and send stages. A delayed or retried job should not depend on a file that has already been cleaned up.
Use the mail log to prove what was handed to transport
Inspect whether the final notification object contains the expected attachment. If it does, continue into transport/provider diagnostics; if it does not, keep the investigation inside WordPress/plugin code. This is the same separation of stages used in tracing a form from browser submission to the final mailbox.
Test with a small matrix
Use one small PDF, one representative production file, one different allowed MIME type and two recipients. Record entry ID, stored file, generated message and mailbox outcome. The fix is complete when the same file can be followed end to end and failures produce an explicit log instead of a silent missing attachment.