IMailSpoolSupportsUids Property

Get whether or not the service supports referencing messages by UIDs.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
bool SupportsUids { get; }

Property Value

Boolean
if supports uids; otherwise, .

Remarks

Not all servers support referencing messages by UID, so this property should be checked before using GetMessageUid(Int32, CancellationToken) and GetMessageUids(CancellationToken).

If the server does not support UIDs, then all methods that take UID arguments along with GetMessageUid(Int32, CancellationToken) and GetMessageUids(CancellationToken) will fail.

See Also