Using form output to create .pdf, send .pfd as email attachment, or write form output to disk in html/cfm format
Hi, here's my problem. My web server uses CF MX 7. I want to get form output, create a .pdf from it, and send the .pdf as an email attachment. This seems to be easy using CF MX 8 and beyond: use cfdocument to create a .pdf and attach the .pdf to an email usig cfmailparam, without writing to disk first. This cannot be done in CF MX 7.
So, to accomplish what I want in CF MX 7, I need a way of doing the following:
1) Output form data to the browser. (Done)
2) Save the format to disk *in the format in which it is outputted to the browser*. (CFFILE does not help in this regard)
3) Convert the file on disk to .pdf format. (I assume CFdocument will do this.)
4) Send the .pdf file as an attachment to an email.
Is this possible? If so, how can it be achieved? Thanks very much.
Best wishes
Chris
