Form Tools
file attachment not working - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16)
+--- Thread: file attachment not working (/showthread.php?tid=4548)



file attachment not working - PTFool - Aug 20th, 2014

FT 2.2.7 - Swift Mailer
I have added the code {$attachment file="../folder/anotherfile.txt"} to the html template as instructed. Tried running a test email from the Test tab. Email received, but does not show an attachment.
Is there some formatting of the template that I am missing? Or does file attachment not work through the Test tab?
Thanks in advance for any help.


RE: file attachment not working - Joe - Aug 21st, 2014

Hi,

Did you make sure that the path to the file is specific to where you have the file uploaded? You don't necessarily need to use "folder" unless that's where the file actually is.

Cheers,

Joe


RE: file attachment not working - PTFool - Aug 22nd, 2014

The path is correct. I guess I had the file name wrong. It's working now.


RE: file attachment not working - Joe - Sep 2nd, 2014

Glad to hear it's working now.

Cheers,

Joe