poplib - retr() getting stuck
roopesh.raj at gmail.com
Fri Jun 20 09:37:32 CEST 2008
I am using poplib's retr() to fetch mails from my gmail account. It
works fine, in some cases it gets stuck inside the retr() method and
does not come out.
>From the logs I could find that when retr() is called, it stops
executing further statements, nor does it throw an exceptions but
simply stops. My code is roughly like the foll:
mymsg = M.retr(msg_no)
except poplib.error_proto, e:
except Exception, e:
What can be the reason for this? Can anyone help me.
More information about the Python-list