smtplib upload progress

2009-10-19 Thread Guyon Morée
Hi, I wanted to use smtplib to send a bunch of files. All good, except I cant monitor the upload progress as far as I can see. So I monkey patched the SMTP.sendall method, which chops up the data and keeps calling a provided callback for every chunk of data sent. This feels kind of dirty and I

Re: smtplib upload progress

2009-10-19 Thread Gabriel Genellina
En Mon, 19 Oct 2009 19:33:50 -0300, Guyon Morée guyon.mo...@gmail.com escribió: I wanted to use smtplib to send a bunch of files. All good, except I cant monitor the upload progress as far as I can see. So I monkey patched the SMTP.sendall method, which chops up the data and keeps calling a