Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Form work, uploads are not attached to email though.

  • Resolved theamazingfartface


    Everything seems to work fine, and I can upload files just fine too. The email is delivered as well, but the uploaded file is never attached to the email. I followed the FAQ regarding this matter and made sure everything was set up fine. I also went through dozens and dozens of links here to see if there was a solution or similar problem but that didn’t help me out. Am I overlooking something?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Takayuki Miyoshi


    I don’t know. How did you set up?

    Having the same issue on my local server as well as my online server. Even when I make a form with only an upload field, the file will not be attached to the email. Can’t recall having had this problem in previous versions.

    Using Contact Form to DB Extension I can see that the file is being sent to the server though (both local and online).

    I’ve seen people with the problem that they can’t upload, but not that an uploaded file isn’t attached to the email. Perhaps I should just revert to a previous version.

    Decided to just create my own forms since I don’t think an answer or solution will appear any time soon and I need something working this week. Thanks for the response though, it’s appreciated.

    I am having the same issue…


    <p>Your Name (required)
    [text* your-name] </p>

    <p>Shop Name (required)
    [text* your-shop] </p>

    <p>Shop License # (required)
    [text* your-license] </p>

    <p>Shop Street Address (required)
    [text* your-street] </p>

    <p>Shop City (required)
    [text* your-city] </p>

    <p>Shop Postal Code (required)
    [text* your-postal] </p>

    <p>Your Email (required)
    [email* your-email] </p>

    <p>Your Message
    [textarea your-message] </p>

    <h2>CONTEST RULES</h2>

    <p>Check box if you are over 18 years of age
    [acceptance acceptance-478]</p>

    <p>Check box if you have read and accept contest rules
    [acceptance acceptance-28]</p>

    <p>File Upload
    [file your-file filetypes:pdf|eps|ai|jpg|png|gif|jpeg|psd|indd limit:5mb] </p>

    <p>[submit “Send”]</p>

    Message Body

    From: [your-name] <[your-email]>
    Shop: [your-shop]
    License: [your-license]
    Address: [your-street]
    City: [your-city]
    Postal: [your-postal]
    E-Mail: [your-email]

    Subject: IC-Gel Logo Contest

    File: [file your-file]

    Message Body:

    Over 18: [acceptance-478]
    Rules: [acceptance-28]


    Mail Section


    From: [your-name] <[your-email]>

    Subject: IC-Gel Logo Contest

    File attachments: [file your-file]

    Thanks in advance

    I have the same problem.
    Commented out the code that deletes files, so confirmed upload works fine.

    The file is simply not getting attached to the emails.

    Some people have solved it by installing an older version!!

    I seem to have figured it out.

    When generating the Upload Button tag, it will typically generate a random tag like [file file-557] and normally you would copy that tag and insert it into the form code as well as add it to the “file attachments” field in the Mail Section.

    Here is what I did and it worked like a charm. When the tag generator issues the random code, simply highlight it and change it to [file your-file] and use that instead of the randomly generated tag and it should work.

    Thanks germiphene. I’ll give that a shot if I use this form in some future project, but to be honest; it took me less time to just create my own form. That might be different though if everything works with this plugin since most of my time spent on the forms was lost in trying to figure out the bugs in this plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Contact Form 7] Form work, uploads are not attached to email though.’ is closed to new replies.