WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Form work, uploads are not attached to email though. (8 posts)

  1. theamazingfartface
    Member
    Posted 2 years ago #

    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?

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 2 years ago #

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

  3. theamazingfartface
    Member
    Posted 2 years ago #

    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.

  4. theamazingfartface
    Member
    Posted 2 years ago #

    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.

  5. germiphene
    Member
    Posted 2 years ago #

    I am having the same issue...

    FORM CODE:

    <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:
    [your-message]

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

    --end--

    Mail Section

    To: tattoo@germiphene.com

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

    Subject: IC-Gel Logo Contest

    File attachments: [file your-file]

    Thanks in advance

  6. notdodgy
    Member
    Posted 2 years ago #

    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!!

  7. germiphene
    Member
    Posted 2 years ago #

    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.

  8. theamazingfartface
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic