Hello,
in our web2py based billing application we generate PDF:s that are sent
to customers. So far I have always saved the PDF onto my local computer
and attached that to a mail.
Now I'd like to develop the app so I could send the bill directly from
the app.
When the PDF is created it is shown in the browser with these two rows.
response.headers['Content-Type']='application/pdf'
return f.render('invoice.pdf', dest='S')
This is probably a pypdf question but I was hoping somebody can help me.
I guess that the pyfpdf should be written to the servers harddisk and
when the mail is created it picks up the file.
Anybody done anything like this?
Kenneth