The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Attachments - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Attachments (/showthread.php?tid=1768) |
Attachments - tripcover - Nov 20th, 2011 I am using version 2.06 and for some reason am having trouble getting an attachment to work. I am using a file from my server {$attachment file="/folder/myfile.txt"} putting the line in the email content and nothing is happening the formtools is running from a folder /form2/folder/myfile.txt for this demo, any ideas? It is ok I fixed it. I had not set up the swift mailer module. (Nov 20th, 2011, 9:19 AM)tripcover Wrote: I am using version 2.06 and for some reason am having trouble RE: Attachments - Ben - Dec 4th, 2011 Hey tripcover, Sorry I never back to you! But I'm glad you got it sorted out. For anyone else reading the thread: yes, file uploads only work with the Swift Mailer module - not the default out-the-box mail functionality. - Ben RE: Attachments - zoltandragon - Sep 18th, 2012 I have the latest Swift Mailer set up (latest core, etc.), and I need only the email of users signing up via a form to send out an autoresponder. Now the trick is that I want to send out a file attachment (waiting in a folder on my server) with the autoresponder. Problem is that while the email reaches the given emails, no attachment is sent (yes, I am using the code from FormTools docs). I have tried both relative and absolute paths - no luck there. Can anyone help me on this? Any help much appreciated ![]() |