Hi there,
i’ve already read the relating code so i would say this is not possible at the moment:
I’m trying to use [select fname ... "foo|/file/to/attach"]
in the mail block i put [fname] into the attachments field. But the file won’t be accepted as it is a field.
There are currently just two options to attach a file:
- create a file field and put its value into the attachment field
- pass an exisiting filename to the attachment area
Any idea how to make this possible? I know it’s some kind of security issue if variables could be used. but it could be an option to allow this only in the wwp_upload_dir()[base].
https://wordpress.org/plugins/contact-form-7-to-database-extension/