Gets the Unique-ID string assigned to the specified message in the inbox on the server.
The Unique-ID string assigned to the specified message in the inbox on the server.
Unique-ID is not the same value as MessageID. Unique-ID is assigned to each message in the inbox by the POP3 server, while MessageID value is assigned to the message by the mail composing program. For instance, if the same message was placed into the inbox twice, both copies will have the same MessageID value, but Unique-ID values will be different.
Unique-ID's is the preferred way of implementation of downloading new mails mechanism.
CAUTION Some old POP3 servers have no support for Unique-ID's and thus do not implement the POP3 protocol's UIDL command.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | The message index is not in the range from 1 to InboxMessageCount (by absolute value). |
| MailBeeException | An error occurred and ThrowExceptions is true. |
Pop3 Class | MailBee.Pop3Mail Namespace | GetMessageIndexFromUid | InboxPreloadOptions