IAsyncImapClient.SubscribeFolderAsync

IAsyncImapClient.SubscribeFolderAsync method

Sent the SUBSCRIBE command that adds the specified mailbox name to the server’s set of “active” mailboxes.

public Task SubscribeFolderAsync(string folderName, IConnection connection = null, 
    CancellationToken token = default)
ParameterTypeDescription
connectionStringConnection to a server
folderNameIConnectionName of the folder
tokenCancellationTokenPropagates notification that operations should be canceled.

See Also