BlogGuides · October 15, 2026 · 5 min read

Contact Form 7 Static Attachments: Send an Existing PDF with Your Notification

Attach an existing PDF to Contact Form 7 notifications, choose the right Mail template, use local paths and verify the document at a controlled destination.

A hand lifts a mint booklet from a green shelf beside an open envelope and an abstract form card.
Conceptual illustration; not a product screenshot or measured result.

A visitor requests a service guide through Contact Form 7. The document already exists on your WordPress site, so asking the visitor to upload it makes no sense. A static file attachment lets the mail template include that existing document. The useful work is choosing the correct file, attaching it to the correct notification, and keeping the document current.

This guide covers an existing brochure, checklist or introductory PDF. For documents supplied by visitors, use the separate file upload and attachment testing guide. The examples below are illustrative configuration paths, not files installed on your website.

Decide who should receive the document

Start with the workflow. A notification to your own team might include a standard intake checklist. A visitor acknowledgement might include a public service guide. These are different messages with different audiences. Write down the intended recipient before changing either template, especially when the form already sends several notifications through other plugins.

CF7’s mail reference describes Mail (2) as an additional template that is sent after the primary Mail succeeds. Our autoresponder guide covers its configuration. Review its attachment field separately; a file listed in the primary template is not a decision about what the visitor should receive.

Prepare one approved document

Use a small, readable document with an identifiable version. A filename such as service-guide-2026-10.pdf makes a later review easier than several files called final.pdf. Check its cover, links and contact details. Remove comments, tracked changes or private material before treating the document as suitable for an automatic response.

Choose an owner for future revisions. That person should know which form templates refer to the file and what event triggers a review: a service change, a contact-address update, or the next scheduled editorial check. The attachment is part of the visitor experience even when nobody has opened its Media Library entry for months.

Use a filesystem path inside wp-content

The official attachment documentation supports existing local files and resolves relative paths from the WordPress content directory. It restricts attachments to that directory and its descendants. Put one local path on each line in the selected Mail template’s File attachments field:

uploads/2026/10/service-guide-2026-10.pdf

This example assumes the PDF actually lives at that relative location. A public Media Library URL beginning with HTTPS is not the same thing as the required local path. If uploads are offloaded to remote storage, ask the maintainer whether a readable local file remains available to the mail process. An image or PDF loading in the browser does not answer that question.

Do not paste a server’s private configuration path or try to work around the allowed-directory boundary. Use a document deliberately prepared for the recipients. The current mail implementation also checks that attachments are readable files. Record the actual location rather than guessing it from an old hosting layout.

Keep upload tags and static paths understandable

A form can attach a visitor’s uploaded document and your static checklist in the same message. The configuration uses different notation for each. An upload uses its mail-tag; the existing document uses its path. For example, if your upload field is named project-brief, the attachment configuration can contain:

[project-brief]
uploads/2026/10/service-guide-2026-10.pdf

Do not add an upload field solely to send an existing PDF. Conversely, placing an upload’s field name in the email body does not attach its contents. Keep a short mapping note identifying which entries come from the visitor and which are maintained by the site team. This prevents a later template edit from removing the wrong document.

Check the combined message size

CF7 documents a 25 MB total attachment boundary, but the practical limit may be lower along your actual mail route. Include every attachment when reviewing the message, particularly if visitors can add files. A large brochure can consume space that an uploaded brief also needs. Reduce unnecessary document size instead of assuming a larger form upload limit solves email transport constraints.

Consider an ordinary public download link when the document changes frequently or is too large for a convenient attachment. A link lets the recipient retrieve the current version; an attachment preserves the version sent at that moment. Choose deliberately based on the reader’s task, and explain any access requirements before promising immediate access.

Verify with a controlled receiving mailbox

Use authorized staging, synthetic details and a controlled mail destination. Check a normal submission, the optional-upload case without a file, and the case with a small valid upload if your template supports both sources. Inspect the received message rather than stopping at the website response. Open each PDF and confirm its filename and contents.

Record the form, template, document version and result. Then repeat after moving or replacing the file. If the notification arrives without the static attachment, compare the exact configured path with the actual local file and readable-file status. If no notification arrives at all, follow the mail troubleshooting path before redesigning the attachment setup.

Maintain the document and measure the right outcome

When retiring a file, find the templates that still reference it before removing it. Keep a small change record and a clear replacement path. For a revised guide, verify that both the intended team notification and visitor acknowledgement use the right version; they may have been edited independently.

Svetlik Analytics for Contact Form 7, our free plugin, helps review submission trends in WordPress. It does not establish that a PDF was attached, received or opened. Use the form testing checklist for that operational evidence, then interpret analytics alongside the verified workflow.

Sources

Official references checked October 15, 2026: CF7 local attachments, mail templates, CF7 mail source, and WordPress mail behavior. Successful mail processing is not a guarantee of inbox receipt.