Support » Plugin: Contact Form 7 » Send Form Results And Auto-Attach Pre-Set PDF files

  • Hi –

    I’d like the user to be able to fill out the form which I know how to do but when my client receives the email with the results, is there a way to ensure that it auto-attaches 2 PDF files (they never change – it’s always the same ones). The person submitting the form IS NOT attaching the files.

    We’re just basically saying: send the form with whatever the user puts in for the fields, save it to the database as well using flamingo and CFDB7 and also always attach 2 PDF files in the email results.

    How can I do this?

    • This topic was modified 1 year, 10 months ago by jwinston1776.
Viewing 1 replies (of 1 total)
  • Thread Starter jwinston1776

    (@jordanwinston)

    For anyone wanting to know the answer, it’s actually easy. While most forms you’d want the user to upload a file to attach and send along with the form fields, there are always weird circumstances (where mine fit in).

    All you need to do is go into the Contact section under contact form 7
    Go to the mail Tab
    Under File Attachments you’ll just list out the media you want to auto-send with your form.

    So, in my case I uploaded 2 PDF’s to my media gallery.
    And then in the file attachments section, I put:

    uploads/2021/11/name.pdf
    uploads/2021/11/other-name.pdf

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Send Form Results And Auto-Attach Pre-Set PDF files’ is closed to new replies.