ImapClient.UnselectFolder
UnselectFolder(IConnection)
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
public void UnselectFolder(IConnection connection)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnselectFolder()
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
public void UnselectFolder()
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnselectFolder(IConnection, bool)
Unselects folder which are currently selected. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
public void UnselectFolder(IConnection connection, bool doNotExpunge)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
doNotExpunge | Boolean | Specifies whether messages marked as deleted should be removed. |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
UnselectFolder(bool)
Unselects folder which are currently selected. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
public void UnselectFolder(bool doNotExpunge)
Parameter | Type | Description |
---|---|---|
doNotExpunge | Boolean | Specifies whether messages marked as deleted should be removed. |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email