Store PDF in filesystem and then email

Store PDF in filesystem and then email

Postby OLMGBG » Thu May 07, 2015 6:01 pm

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.
OLMGBG
 
Posts: 7
Joined: Sun Feb 15, 2015 12:11 am

Re: Store PDF in filesystem and then email

Postby shane » Wed May 27, 2015 9:23 am

There is not a function built into nuBuilder to store PDFs into the database.

All of the report screens allow you to email PDFs as an attachment.

If you configure you system to use gmail in the setup, then all emails sent will be in the sent-items of that mail account.
shane
 
Posts: 100
Joined: Mon Jun 15, 2009 5:34 pm

Re: Store PDF in filesystem and then email

Postby admin » Mon Aug 10, 2015 2:45 pm

.
admin
Site Admin
 
Posts: 3162
Joined: Mon Jun 15, 2009 9:53 am


Return to Report Writer