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

    (@takayukister)

    Thread Starter alect7

    (@alect7)

    Thanks Takayuki. I verified my settings based on the page you referenced, and CF7 is still not sending attachments.

    I’m using this code in the form:
    [file your-file filetypes:png|jpg limit:10mb]

    Server directory and permissions is set to:
    wp-content/uploads/wpcf7_uploads (permission = 755)

    The attachment doesn’t come through in the email. I get this line though:
    Logo: dwlogoshirtsmall.jpg (this should have been the attachment)

    A few years ago some people said the problem was with the jquery.form.js file (ref: https://www.ads-software.com/support/topic/attachments-and-file-uploads-not-working-in-contact-form-7?replies=26 )

    Has the problem been reintroduced?

    See if you have htacess in folder

    I’ve the same problem and edit .htacess like this:

    order deny,allow
    deny from all
    allow from 127.0.0.1

    works for me, hope it helps you

    Thread Starter alect7

    (@alect7)

    Thx oslei. There was a .htaccess file in the wpcf7_uploads directory. I updated the file with the code you suggested. Unfortunately it didn’t work. Should the .htaccess file be in a different directory?

    Thread Starter alect7

    (@alect7)

    Hi Takayuki Miyoshi,

    I’ve followed the instructions at: https://contactform7.com/file-uploading-and-attachment/ updated the .htaccess file like Oslei (2 posts above) suggested but still not receiveing file attachments.

    Do you have any additional advice?

    Thx,
    Alec

    I am also having this same problem. Form says it submits fine, email comes in, has name of attachment in message, but no attachment is sent. I have edited the .htaccess file in the uploads/wpcf7_uploads but still not receiving attachments…

    Any help would be appreciated.
    Dawn

    Hi guys,

    Yesterday I had this same problem and when looking arooud for some solution I found about .htacess
    Well, it was too late and I was almost asleep when I wrote this answer to help it out.

    Let me splain in more details now. But, just to remember…
    …works for me and not necessary will work for everybody, ok?
    JUst give it a try…

    In Contact Form 7 Panel (WordPress Admin Panel)

    Follow these instructions to get fields in your form:
    https://contactform7.com/file-uploading-and-attachment/

    FORM
    You will end up with one code like this:

    [file file-280 filetypes:pdf limit:2mb]

    “file-280” was my code by the way ?? If you want all kinks of file and no limits size, let it blank, like this:

    [file file-280]

    MAIL
    After that, don’t forget to put this code inside the
    box “file attachments” with the brackets, like this:

    [file-280]

    after that, make a test and if not work – like in my case – open
    your FTP software and go to the folder that was created by CF7

    wp-content/uploads/wpcf7_uploads

    change the permission – CHMOD – of this folder to 777 and
    copy .htacess to your computer and write this inside:

    order deny,allow
    deny from all
    allow from 127.0.0.1

    Before upload, rename the .htacess in your host to some like “.htacess.old”
    then upload the new one. Refresh the files in your folder and you’ll see
    that the file you rename it will be automatically deleted.

    After that just check if .htacess remains like you changed.

    That’s it. Just test it.
    I hope this can help.

    oslei,

    I have done everything you have outlined and my attachments still are not coming through. I have even tried changing the IP address in the allow command to my server’s IP address, and still nothing.

    My form submissions work fine, it’s just not delivering the attachment…
    Dawn

    Thread Starter alect7

    (@alect7)

    Hi isdg01 or Dawn,
    I’m still having the same problem too, after using all the recommended settings. If you don’t mind me asking, who is your hosting company and what theme are you using? I’m at Site5 using the Avada theme.

    Thx,
    Alec

    Hi Alec,

    I am using X Theme and hosting at KnownHost. I am also checking with tech support at Themeco (theme developers) to see if they can help me out. Will let you know if I find something that works.

    Dawn

    PS… instead of wasting more time on figuring this out, I have found another plugin that is sending my attachments through with no problem. It’s called Fast Secure Contact Form and is also free. Trying to figure out how to format it now. Ninja forms also has file attachment capability, but they charge $40 for the additional functionality.

    Thread Starter alect7

    (@alect7)

    Thx Dawn,

    I might have to go with your suggested plugin. I’m trying to avoid that because other than the attachment issue, everything is working flawlessly and I have finally have all my custom CSS setup to make CF7 look amazing, and some of my forms are integrated with SalesForce.com.

    If I find a CF7 solution I’ll be sure to post it here. I give it a week before I abandon CF7.

    Share what you can and have an awesome day!
    Alec

    Hello Dan and Alec,

    My hosting is BlueHost and my themes are BeTheme & Jupiter
    from Themeforest

    Thread Starter alect7

    (@alect7)

    Thx Oslei. I going to test it with a BeTheme site I have and see if it’s a hosting issue.

    Hi all,

    Did you finally find a solution?

    I have a similar problem: I received emails sent throug Contact Form but all attachments are “included” in the e-mail I cannot open them. Here’s an exemple:
    De : Fabrice Ona <fabrice@……..>
    Adresse postale: rue de veyrier 10
    N?° de t??l.: 0223421202

    [ Deleted ]

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘File attachment not included with email’ is closed to new replies.