| IMailSpoolGetMessageUids Method |
Get the full list of available message UIDs.
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax IList<string> GetMessageUids(
CancellationToken cancellationToken = default
)
Parameters
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
IListStringThe message UIDs.
Remarks
Not all servers support UIDs, so you should first check
the
SupportsUids property.
See Also