Returns whether the specified capability is supported by the server.

Namespace: S22.Pop3
Assembly: S22.Pop3 (in S22.Pop3.dll) Version: 1.1.4653.26443 (1.1.0.0)

Syntax

C#
public bool Supports(
	string capability
)

Parameters

capability
Type: System..::..String
The capability to probe for (for example "IDLE")

Return Value

Returns true if the specified capability is supported by the server, otherwise false is returned.

Exceptions

ExceptionCondition
S22.Pop3..::..BadServerResponseExceptionThrown if an unexpected response is received from the server during the request. The message property of the exception contains the error message returned by the server.
System..::..NotSupportedExceptionThrown if the server does not implement the underlying infrastructure the Supports method relies upon.

See Also