Forums

Contact Form 7
File Upload Not Working (2 posts)

  1. ianmcabee
    Member
    Posted 1 year ago #

    I am having an issue with the file upload tool in Contact Form 7. When I submit the contact form with a file upload attachment the screen goes blank and the email does not go through. What could be the issue?

    <p>Full Name (required):
    [text* name 25/] </p>

    <p>Email Address:
    [email email 25/] </p>

    <p>Phone Number:
    [email phone 25/] </p>

    <p>Testimonial:
    [textarea testimonial 60x6] </p>

    [file file-106]</p>

    And under "Mail" my file attachments read "file-106"

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

  2. flamenco
    Member
    Posted 1 year ago #

    Hi,
    If I'm following you, it looks like you set up your form and mail fields OK. First I will quote the master himself:

    Contact Form 7 applies default restrictions for file type and file size when you do not set the filetypes: and limit: (file size) options explicitly. Default acceptable file types (extensions) are: jpg, jpeg, png, gif, pdf, doc, docx, ppt, pptx, odt, avi, ogg, m4a, mov, mp3, mp4, mpg, wav, and wmv. Default acceptable file size is 1 MB (1048576 bytes).

    Did you break any of those rules? Beyond that, I would check with your host and see if they have any policies for file attachments coming from your host account.

    Good luck, D

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic