ImapClient.UnsubscribeFolderAsync
Contents
[
Hide
]UnsubscribeFolderAsync(IConnection, string)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server’s set of “active” mailboxes
public Task UnsubscribeFolderAsync(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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnsubscribeFolderAsync(string)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server’s set of “active” mailboxes
public Task UnsubscribeFolderAsync(string folderName)
| Parameter | Type | Description |
|---|---|---|
| folderName | String | Name of the folder |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnsubscribeFolderAsync(IConnection, string, CancellationToken)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server’s set of “active” mailboxes
public Task UnsubscribeFolderAsync(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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnsubscribeFolderAsync(string, CancellationToken)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server’s set of “active” mailboxes
public Task UnsubscribeFolderAsync(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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email