Reputation: 195
I have a contact form without file tag. I wanna put in "file attachment" the url of my guide.pdf that I have put in media wordpress. the url is http://domain.it os the url of file is:
http://domanin/wp-content/uploads/2017/10/guide.pdf
when I put the link it appears me that the file doesn't exist.
Anyone can help me?
Upvotes: 2
Views: 2425
Reputation: 159
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.
uploads/2017/10/guide.pdf
Upvotes: 4