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