|Posted by:||Tom (email@example.com)|
|Date:||Thu, 26 Jan 2006|
I'm using D7 and Indy 9.00.10.
In reference to the following code from the Indy demos:
if lvHeaders.Selected <> nil then
POP.Delete(lvHeaders.Selected.Index + 1);
lvHeaders.Selected.ImageIndex := 3;
A basic question I have is if I wanted to delete half of the message off of
the server. Let's say every other email in the listview.
I would send the email's index via the delete method within a for loop.
What would happen if a new email(s) arrived before and/or during the delete
loop? Could the wrong emails be delete?