This is what I’m trying to do!
————————
Local file attachment…
Contact Form 7 3.5 and higher support local file attachment. You can put local file paths in the ‘File attachments’ field and those files will be attached to the email as well as uploaded files.
Put a file path per line. When the path is not an absolute path, it will be treated as a relative path to wp-content directory.
Example:
[your-file][your-another-file]
/home/you/dir/dir/dir/fantasticpicture.jpg
uploads/2013/08/08/boringguide.pdf
—————————
I’m trying to attach a pdf to mail (2) (http://test.nichols.org.uk/files/8r0c4ur3.pdf), but to no avail.
Thread Starter
maxj
(@maxj)
Hi, thank You very much I will try to do like You say.
You need to direct to the file path not url.
It assumes the file is in the wp-content folder.
So put “filename.pdf” in the attachment line in contact form 7 and then put the file “filename.pdf” in the wp-content folder.
This should then work.
Thread Starter
maxj
(@maxj)
It works great! Thank You very much!