SubscribeFolderAsync

ImapClient.SubscribeFolderAsync method (1 of 4)

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

public Task SubscribeFolderAsync(IConnection connection, string folderName)
Parameter Type Description
connection IConnection Connection to a server
folderName String Name of the folder

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SubscribeFolderAsync method (2 of 4)

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

public Task SubscribeFolderAsync(string folderName)
Parameter Type Description
folderName String Name of the folder

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SubscribeFolderAsync method (3 of 4)

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

public Task SubscribeFolderAsync(IConnection connection, string folderName, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
folderName String Name of the folder
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SubscribeFolderAsync method (4 of 4)

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

public Task SubscribeFolderAsync(string folderName, CancellationToken token)
Parameter Type Description
folderName String Name of the folder
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also