Hi,
Im strugling to attach 4 or more emails to an email, I am creating dynamic pdf's and attaching them to submited emails for that reason this code is needed and i cannot use the editor of chronoforms.
After submiting the form a get a blank page and recieve no email. I removed 1 attachment and i recieved the email, i tested in various browsers and attaching deferent pdf's and the result is always the same.
Any ideas on the problem?
Thanks Again
Clinton
Im strugling to attach 4 or more emails to an email, I am creating dynamic pdf's and attaching them to submited emails for that reason this code is needed and i cannot use the editor of chronoforms.
$MyForm =& CFChronoForm::getInstance("test");
$MyUploads =& CFUploads::getInstance($MyForm->formrow->id);
$MyUploads->attachments[]= "/usr/www/users/diylaw/libraries/tcpdf/pdfs/attachment1.pdf";
$MyUploads->attachments[]= "/usr/www/users/diylaw/libraries/tcpdf/pdfs/attachment2.pdf";
$MyUploads->attachments[]= "/usr/www/users/diylaw/libraries/tcpdf/pdfs/attachment3.pdf";
$MyUploads->attachments[]= "/usr/www/users/diylaw/libraries/tcpdf/pdfs/attachment4.pdf";
After submiting the form a get a blank page and recieve no email. I removed 1 attachment and i recieved the email, i tested in various browsers and attaching deferent pdf's and the result is always the same.
Any ideas on the problem?
Thanks Again
Clinton
Hi Clinton,
I don't think that there is anything in the ChronoForms code that limits the number of attachments so my guess would be that there is a PHP error, maybe a memory limit or a processor timeout.
Try setting site Error Reporting to Maximum and see if you get a meaningful error message. (And/or check the server logs.)
Bob
I don't think that there is anything in the ChronoForms code that limits the number of attachments so my guess would be that there is a PHP error, maybe a memory limit or a processor timeout.
Try setting site Error Reporting to Maximum and see if you get a meaningful error message. (And/or check the server logs.)
Bob
This topic is locked and no more replies can be posted.