Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 May : TIdPop3 error
| Subject: | TIdPop3 error |
| Posted by: | "Steve Wyatt" (ste..@methods.com) |
| Date: | Mon, 21 May 2007 17:16:16 |
I am using BDS 2006 along with the Indy 10 components.
I've written an application that uses the TIdPop3 and TIdSMTP components.
The application wakes up every couple of minutes (via a TTimer) and checks
for new emails in a specific email box. If the box contains messages, the
messages are stored to a database, forwarded to other email addresses, and
deleted from the mailbox. Finally, TIdPop3.Disconnect is called, and the
TTimer is re-enabled.
The app. will run fine for days at a time with no problems, but
occasionally, the TIdPop3.Connect method will throw an exception: "An
existing connection was forcibly closed by the remote host". There is
usually about a 10 minute lag between the time that the Connect method is
called before the exception is finally thrown.
Can someone tell me if this implies a flaw in my application? Or is this
an issue with the Indy components? (Or something else?)
Thanks,
Steve Wyatt