I encounter a problem with attaching a dynamic file to email. I must be doing something wrong because it is not working here (no attachment).
Some more details...
The name of my form is testform1
I put in a 'HTML to PDF' action with the following details:
Document/File name = <left empty>
View = Save to server
Document save path = /var/www/vhosts/mywebsite/httpdocs/files
File name in Data/Files array: form1
When there is a document in the httpdocs/files directory called testform1_20130528152759.pdf I can put in the action 'Email [GH]' the value /var/www/vhosts/mywebsite/httpdocs/files/testform1_20130528152759.pdf in the Attachments field. This works fine.
My question is what to fill in when using a dynamic document name? It can't be that hard, but I can't find it.
Very many thanks in advance!
Some more details...
The name of my form is testform1
I put in a 'HTML to PDF' action with the following details:
Document/File name = <left empty>
View = Save to server
Document save path = /var/www/vhosts/mywebsite/httpdocs/files
File name in Data/Files array: form1
When there is a document in the httpdocs/files directory called testform1_20130528152759.pdf I can put in the action 'Email [GH]' the value /var/www/vhosts/mywebsite/httpdocs/files/testform1_20130528152759.pdf in the Attachments field. This works fine.
My question is what to fill in when using a dynamic document name? It can't be that hard, but I can't find it.
Very many thanks in advance!