The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
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
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?




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 Smile