Connection problem with faulty POP3 servers


2004-06-09 11:40:19 PM
delphi23
Delphi 7 Pro and Indy 9 shipped with Delphi.
I need advice how to solve connection problem with faulty POP3 server.
I connect with standard IdPOP3.Connect(5000) and further works are correct.
However, there is not rear occasion when POP3 server is faulty (actually
provider representatives are confirm there is some mailfunction), and then
connection sims to be endless - last more then gived five second and block
all programm activity (since call is not threaded). Anti Freeze component
didn't help.
I can try to manually set timer to try breaking started POP3 connection.
However, I hope there is a better way. May be installing newer version of
Indy will help?
Thanks in advance for any help.
Best regards,
Sasa