Hi,
I have looked at a lot of postings and I can't seem to get anything to work - perhaps I am misunderstanding the functionality.
I would like to include a PDF attachment (invoice) when someone registers for a course and the confirmation email is sent.
Is this possible? Being a newbie, a step by step instruction would be gratefully accepted.
Thanks
Tony
I have looked at a lot of postings and I can't seem to get anything to work - perhaps I am misunderstanding the functionality.
I would like to include a PDF attachment (invoice) when someone registers for a course and the confirmation email is sent.
Is this possible? Being a newbie, a step by step instruction would be gratefully accepted.
Thanks
Tony
Hi Tony,
I don't think that anyone has properly solved the problem of creating the PDF; attaching the file is no big problem and is addressed several times here.
Which are you stuck on?
Bob
I don't think that anyone has properly solved the problem of creating the PDF; attaching the file is no big problem and is addressed several times here.
Which are you stuck on?
Bob
It is possible to create a PDF file using the TCPDF class in ChronoForms. I have it working by adding code in the On Submit code - before sending email section. Some examples on how to use TCPDF can be found at http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf
Once you create the PDF, you need to output it using
Now you can upload it as an attachment.
Hope this helps
Once you create the PDF, you need to output it using
$pdf->Output("tmp/whatever.pdf", "F");
Now you can upload it as an attachment.
Hope this helps
Sorry for the delay in responding. I expected an email when posts were made!
In the end I formatted my email reply to give an additional page of the data I would have included in the PDF. I think this is best as I wanted to include the current date in the response.
Thanks for your help.
In the end I formatted my email reply to give an additional page of the data I would have included in the PDF. I think this is best as I wanted to include the current date in the response.
Thanks for your help.
This topic is locked and no more replies can be posted.