Re: [web2py] Attaching a file to a mail

2011-11-22 Thread Kenneth Lundström
Thank You. Works great now. Kenneth remove response.headers['Content-Type']='application/pdf' f.render(filename, dest='F') Ciao 2011/11/22 Kenneth Lundström > Hello, in our web2py based billing application we generate PDF:s that are sent

Re: [web2py] Attaching a file to a mail

2011-11-22 Thread Massimiliano
remove response.headers['Content-**Type']='application/pdf' f.render(filename, dest='F') Ciao 2011/11/22 Kenneth Lundström > 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 > attach

[web2py] Attaching a file to a mail

2011-11-22 Thread Kenneth Lundström
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