• Resolved tdcinhawaii

    (@tdcinhawaii)


    I’ve been using Contact Form 7 with attachments successfully until this week. I’ve made no changes to the site, but the attachments are not coming through. The email appears correctly, but there is no attachment. Here is the formatting for my form:

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

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

    <p>Subject: Please include position you are applying for
    [text your-subject] </p>

    <p>Resume
    [file file-512] </p>

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

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

    File Attachments Field
    [512]

    I’ve read the FAQ’s, I’ve tried variations on the file attachment field, nothing seems to help.

    Thank you in advance for your help, this is very important for us to resolve.

Viewing 9 replies - 1 through 9 (of 9 total)
  • File Attachments Field
    [512]

    This should be [file-512].

    Thread Starter tdcinhawaii

    (@tdcinhawaii)

    Thank you Takayuki for responding. Changing the file attachment field as you’ve indicated do not solve the problem. Any further suggestions?

    Thank you again for your help.

    Thread Starter tdcinhawaii

    (@tdcinhawaii)

    Thank you Takayuki for sending the link. Despite my research, I hadn’t seen that information and I hoped it would solve my problem. It did not.

    I have both the wp-content/uploads folder and the wpcf7_uploads subfolder. Permissions are enabled to allow writing.

    While I receive the email, I do not receive the attachment.

    Strangely, despite several tests this morning, only one item is in the downloads folder.

    Any further recommendations or suggestions are very much appreciated.

    Thread Starter tdcinhawaii

    (@tdcinhawaii)

    Takayuki-

    Something else: there is an .htaccess file in the wpcf7_uploads subfolder, should that be there? Could that be causing the problem?

    Contact Form 7 tries to create .htaccess file in the wpcf7_uploads folder. The .htaccess should have this just one line:

    Deny from all

    This makes it unavailable for site visitors to directly access to the uploaded files through their browsers so that you can save sender’s privacy. Also, Contact Form 7 removes the files in the wpcf7_uploads folder just after sending mail with the attachment files for the same reason. So, they are normal behavior.

    If you still don’t see attached files,
    1) Check your settings again,
    2) Try deactivating all other plugins and switching to the default theme for ruling out conflicting cases, and
    3) Contact your hosting server’s support and make sure if you are allowed to send mail with attachment files via PHP mail form.

    Thread Starter tdcinhawaii

    (@tdcinhawaii)

    Takayuki-

    Thank you so much for your help. My client has now upgraded from PHP4 to PHP5, the problem has been solved.

    Thank you again.

    Hello, I have the exact same problems, I can send mail but I did not forward the attachment.
    I turned off all plugins. I enabled the default template.
    But it did not work the same.
    My PHP version is 5.1.6
    Can you help me?
    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Contact Form 7 – Attachments not coming through’ is closed to new replies.