Gets UID (Unique-ID) assigned to the message in the folder on the mail server.
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax Public ReadOnly Property Uid As Long
Get
Property Value
Type:
Int64A positive 32-bit numeric value indicating UID of the message, or -1 if this information is not available.
Remarks Unlike ordinal message numbers (
MessageNumber property), UIDs persist
between operations which re-order messages in a folder (such as deleting and expunging messages).
Also, UIDs should persist between different IMAP sessions (some old IMAP4 implementations, however, may violate
this rule, see
UidValidity topic for details).
See Also