|Subject:||Re: POP.Delete() method|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Thu, 26 Jan 2006|
"Tom" <email@example.com> wrote in message
> I'm using D7 and Indy 9.00.10.
That is a very old build of Indy. You should consider upgrading to the
> What would happen if a new email(s) arrived before
> and/or during the delete loop?
POP3 is a transactional protocol. Once you successfully log into the
server, an exclusive access lock is applied to the mailbox until you
disconnect. New messages cannot be placed into the mailbox, and existing
messages cannot be removed or altered, while the mailbox is locked. Thus,
your loop is not effected by incoming messages. They will arrive in the
mailbox after the mailbox is unlocked.
POP.Delete() method posted by Tom on Thu, 26 Jan 2006