Aug 28th, 2011, 7:59 AM
I nomad,
I've also the same problem.
I generate a file based on form values during the submission and store the server side filename and path in a hidden field.
But no way of passing it to attachment using
{$attachment file="<my field value>"}
Did you find any solution ?
jpenon
I've also the same problem.
I generate a file based on form values during the submission and store the server side filename and path in a hidden field.
But no way of passing it to attachment using
{$attachment file="<my field value>"}
Did you find any solution ?
jpenon
(Aug 20th, 2009, 11:42 PM)nomad Wrote: Does anybody sending attachments by e-mail?
There is example in documentation:
{$attachment file="/folder/myfile.txt"} which works.
But how to use placeholders to construct the path and name of the file?
I have a name of the file, which is saved as text string in database field "soubor" and I like to use somethink like this in the body of email:
{$attachment file="$ANSWER_soubor"}
{$attachment file=$ANSWER_soubor}
{$attachment file="{$ANSWER_soubor}"}
{$attachment file={$ANSWER_soubor}}
No variant works at all.
Have somebody some solution?