Click or drag to resize
MimeKit

IMailSpoolSupportsUids Property

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

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

Property Value

Boolean
true if supports uids; otherwise, false.
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