IAsyncImapClient.ClientCapabilitiesAsync

IAsyncImapClient.ClientCapabilitiesAsync method

Notifies server which extensions are supported by client. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161

public Task<IEnumerable<string>> ClientCapabilitiesAsync(IEnumerable<string> capabilityNames, 
    IConnection connection = null, CancellationToken token = default)
ParameterTypeDescription
connectionIEnumerable`1Connection to a server
tokenIConnectionPropagates notification that operations should be canceled.
capabilityNamesCancellationTokenArray of capabilities which are supported by client

Return Value

Task object, with delegate for this operation

See Also