Re: Abort Retrieve

Giganews Newsgroups
Subject: Re: Abort Retrieve
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Tue, 10 Oct 2006

"Sümer Cip" <sume…@gmail.com> wrote in message
news:F9F6387F130BE340sume…@gmail.com...

> I am trying to abort retrieving of a message

The POP3 protocol does not support abortions.

> by raising an exception in the OnWork event of TIdPOP3. I use Indy 10.
> I can successfully abort the operation but the problema arises when
> I try to retrieve another message with the component.

You need to clear all of the pending unread data from the previous message.
There is no way to tell the POP3 server to stop sending it, so you have to
keep reading the message data, and then discard it.

Gambit

Replies

None

In response to

Abort Retrieve posted by Sümer Cip on Tue, 10 Oct 2006