I am using an open source client to programmatically process incoming emails (on Windows 2003). The only way to prevent receiving previously read emails is to delete them from the server. This is less than ideal. As far as I know, there is no command in Pop3 to set emails as being read. So how do you go about this?
It's the responsibility of the POP3 client to check for this. The most reliable method is to use the UIDL
POP3 command to get a unique message ID, and keep track of these on the client side.