IAsyncImapClient.UnsubscribeFolderAsync
IAsyncImapClient.UnsubscribeFolderAsync method
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server’s set of “active” mailboxes
public Task UnsubscribeFolderAsync(string folderName, IConnection connection = null,
CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | String | Connection to a server |
folderName | IConnection | Name of the folder |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email