Problem with handling errors in POP3 message retrieval/deletion
cl at isbd.net
cl at isbd.net
Fri Sep 11 13:13:06 EDT 2015
cl at isbd.net wrote:
> I have a (fairly) simple script that does 'catchall' processing on my
> POP3 mailbox. It looks for messages To: strings that *might* be for
> me and then throws everything else away.
>
[snip]
Sorry folks, I found the problem, it's a known 'bug' due to someone
trying to protect poplib from excessively long lines. See:-
https://bugs.python.org/issue16041
It's easy to work around by something like:-
import poplib
poplib._MAXLINE=20480
--
Chris Green
ยท
More information about the Python-list
mailing list