Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Outlook logs in to a POP3 server and issues the <code>STAT</code>, <code>LIST</code> and <code>UIDL</code> commands; then if it decides the user has no new messages it logs out. I have observed Outlook doing this when tracing network traffic between a client and my DBMail POP3 server. I have seen Outlook fail to detect new messages on a POP3 server using this method. Thunderbird behaves similarly but I have never seen it fail to detect new messages.</p> <p>Issue the <code>LIST</code> and <code>UIDL</code> commands to the server after logging in. <code>LIST</code> gives you an index number (the message's linear position in the mailbox) and the size of each message. <code>UIDL</code> gives you the same index number and a computed hash value for each message.</p> <p>For each user you can store the size and hash value given by <code>LIST</code> and <code>UIDL</code>. If you see the same size and hash value, assume it is the same message. When a given message no longer appears in this list, assume it has been deleted and clear it from your local memory.</p> <p>For complete purity, remember the relative positions of the size/hash pairs in the message list, so that you can support the possibility that they may repeat. (My guess on Outlook's new message detection failure is that sometimes these values do repeat, at least for DBMail, but Outlook remembers them even after they are deleted, and forever considers them not new. If it were me, I would try to avoid this behavior.)</p> <p>Footnote: Remember that the headers are part of the message. Do not trust anything in the header for this reason: dates, senders, even server hand-off information can be easily faked and cannot be assumed unique.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload