Pop3GetMessageUidFromIndex Method |
Namespace: MailBee.Pop3Mail
Exception | 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. |
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.
Note |
---|
This method may issue a network operation if the UID list has not yet been downloaded from the POP3 server during login (see InboxPreloadOptions). To make sure you have the local copy of the list, call GetMessageUids first (or its async version). |