Hi All,

I have a problem here. I'm connecting to some pop server.Here i need to
set the network timeouts,since some times my program disconnecting from
net at tht point of time I'm unable to connect to POP server. Can any
one provide the solution for it.

code;

import poplib
m=poplib.POP3('pop.mail.yahoo.com',110)
m.user('XXX')
m.pass_('XXX')
 # here i need to set the network time out when I'm connecting to POP
server. i.e in the line
m=poplib.POP3('pop.mail.yahoo.com')


Any help can be greatly appreciated

Thanks,
Narendra

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to