POP connection timeout.

Scott David Daniels Scott.Daniels at Acm.Org
Thu May 8 08:54:19 EDT 2008


Aspersieman wrote:
> I have written an application that queries a POP mailbox and ...
 > I want to have it time out....
> I know that in python 2.5 I could pass an additional timeout parameter 
> to the above statement ( ie: pop = poplib.POP3(POPHOST, POPPORT, 
> TIMEOUTINSECONDS), but I am using python 2.4.
> 
> Can anyone help me implement this timeout functionality.

Obviously, get a copy of 2.5 and back-port the poplib code as
poplib25 or some such.  If you want more help than that, hire
someone to do it.

--Scott David Daniels




More information about the Python-list mailing list