smtplib upload progress
Guyon Morée
guyon.moree at gmail.com
Mon Oct 19 18:33:50 EDT 2009
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 was wondering what my other options are
to tackle this seemingly simple problem.
thanx,
Guyon Moree
More information about the Python-list
mailing list