:?: My client uses an Exchange server that, for some reason, strips the attachments from Chronoforms emails. Is there a way I can set up the email template so that instead of including an attachment to the file, it simply includes a link to the file? All the files get uploaded to a "ftp_files" directory under wwwroot, so I'm guessing this should be doable. How do I code it out? 🤨
Forums
Howto: Email File Links Only
Hi aboutimage,
The attachments info is held in an array which you can access using $MyUploads->attachments:
Bob
The attachments info is held in an array which you can access using $MyUploads->attachments:
$MyUploads =& CFUploads::getInstance($MyForm->formrow->id);
$MyUploads->attachments;
Bob
Ah, thank you!
As it happens, I may have figured out what appears to be a simple, but functional, solution:
At the end of the email template, I have added the following code:
May not be the most eloquent solution, but it appears to work!
As it happens, I may have figured out what appears to be a simple, but functional, solution:
At the end of the email template, I have added the following code:
http://servername/ftp_folder/{file1}
May not be the most eloquent solution, but it appears to work!
This topic is locked and no more replies can be posted.