>I don't know if it's possible to re-check a mail server fast enough so 
>that it hasn't yet tagged messages as read

1: no it wouldn't be possible in a normal POP3 setting. POP is an 
exclusive protocol, so only one connection to a given mailbox can be made 
at a time. And any status marking of messages is done during a session, 
so statuses would be updated during the connection, and thus updated 
before another connection could occur.

2: It doesn't matter anyway because the read/not read status of a message 
isn't handled by the server in the POP protocol. Its handled by the 
client. So there is no status to update on the server because it doesn't 
care if you have or have not already read the message. The client takes 
care of telling the server if it should delete a message, which is the 
only status update the server cares about in the POP protocol.

So if a duplication is occuring, its either because the server is failing 
to delete the message when told, or because Emailer is failing to update 
its record of what messages have been downloaded.

The other possibility is, the server is renumbering the messages in the 
POP box so they are always sequential starting at 1. This will confuse 
Emailer because it tracks what messages have been read or partially 
downloaded by their number. The server SHOULD NOT be renumbering the 
messages for just this reason. But if it is, then if a partially 
downloaded (and thus not deleted on the server) message gets renumbered 
so it now carries a number belonging to a message that Emailer thinks 
should be new (ie: one it deleted and thus thinks is an available number 
again), then Emailer will redownload the message thinking it is a 
different new message.


Hopefully that makes sense.

-chris
<http://www.mythtech.net>

___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]>  or  <[EMAIL PROTECTED]>

Reply via email to