Returns an enumerable collection of capabilities the IMAP server supports. All strings in the returned collection are guaranteed to be upper-case.

Namespace: S22.Imap
Assembly: S22.Imap (in S22.Imap.dll) Version: 3.6.0.0 (3.6.0.0)

Syntax

C#
IEnumerable<string> Capabilities()

Return Value

An enumerable collection of capabilities supported by the server.

Remarks

This method may be called in non-authenticated state.

Exceptions

ExceptionCondition
S22.Imap..::..BadServerResponseExceptionAn unexpected response has been received from the server; The message property of the exception contains the error message returned by the server.
System.IO..::..IOExceptionThere was a failure writing to or reading from the network.
System..::..ObjectDisposedExceptionThe ImapClient object has been disposed.

See Also