IImap |
Task EnableUTF8Async( CancellationToken cancellationToken = default )
| Exception | Condition |
|---|---|
| ObjectDisposedException | The ImapClient has been disposed. |
| ServiceNotConnectedException | The ImapClient is not connected. |
| ServiceNotAuthenticatedException | The ImapClient is not authenticated. |
| InvalidOperationException | UTF8=ACCEPT needs to be enabled before selecting a folder. |
| NotSupportedException | The IMAP server does not support the UTF8=ACCEPT extension. |
| OperationCanceledException | The operation was canceled via the cancellation token. |
| IOException | An I/O error occurred. |
| ImapCommandException | The server replied to the ENABLE command with a NO or BAD response. |
| ImapProtocolException | An IMAP protocol error occurred. |