This client is using Exchange 2003. The POP3 Uidls that we get back look like this - "AAzzz+GABAQmSpNxMHGHeyUSOgl9I6u/". We use a comparison in our code, "If uidl > LastUid Then" to determine where we left off last time, so we know which email that we've already downloaded, and which ones we need to download. Because these Uidls are not in a numerical or alphabetical order, our comparison is not working.
This approach has worked fine with our other clients. So, I'm assuming this is an issue with Exchange 2003 and not with your new update. If I'm correct, then do you have a different, better approach that we should be taking here. How do we separate those emails that we've already downloaded and those that we haven't?
The GetUidls method returns the full set of UIDLs for all the emails in the INBOX of a POP3 server. The technique used by Chilkat for automated order processing is to do this: