Store PDF in filesystem and then email
Posted: Thu May 07, 2015 10:31 am
Hi All,
I'm writting an application in witch I'm supposed to "print" invoices as PDF (one monthly invoice per customer = one PDF file per customer per month) and email these invoices as attached document to customers (quite a simple process).
First, I have to store these PDF on a server filesystem (or as BLOB in the database). We need to have a look or reprint what we sent to customers at any time.
After generating PDF files, I have to send incoices to customers by email.
In a "previous life"
did this in printing PDF files to a filesystem storing URL in the database and then using database records to retrieve and attach documents to mails sent...
I havent found neither any function to print PDF from the server side nor function to print and store PDF from the client side.
Any Idea ?
Kind Regards,
OLM.
I'm writting an application in witch I'm supposed to "print" invoices as PDF (one monthly invoice per customer = one PDF file per customer per month) and email these invoices as attached document to customers (quite a simple process).
First, I have to store these PDF on a server filesystem (or as BLOB in the database). We need to have a look or reprint what we sent to customers at any time.
After generating PDF files, I have to send incoices to customers by email.
In a "previous life"

I havent found neither any function to print PDF from the server side nor function to print and store PDF from the client side.
Any Idea ?
Kind Regards,
OLM.