G
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 was wondering what my other options are
to tackle this seemingly simple problem.
thanx,
Guyon Moree
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