UIDL
UIDL, or Unique Identifier Listing, is a command used in the Post Office Protocol version 3 (POP3) to identify individual messages in a mailbox. It provides a per-message identifier that remains stable for the lifetime of the message on the server, allowing clients to determine which messages they have already downloaded.
- UIDL can be issued with no argument to request a list of all messages in the mailbox,
- UIDL n can be used to request the UID for a specific message by its number n.
- The server responds with a status line followed by one or more lines containing the message number
- UIDs are intended to be unique within a single mailbox and persist across sessions, enabling clients
- UIDs are not guaranteed to be globally unique across servers, and they may be reused in some
- POP3 servers that do not implement UIDL behave like older servers that require clients to rely
- UIDL is specific to POP3; it is complementary to the use of message headers (such as
- Many modern clients prefer IMAP for robust message synchronization, but POP3 with UIDL remains supported by
- Not all POP3 servers implement UIDL; clients should be prepared to fall back to sequence-number tracking
- Since UIDs may be reused after deletion, they should not be treated as permanent identifiers beyond