Returns whether the specified capability is supported by the server.
Namespace: S22.Pop3Assembly: S22.Pop3 (in S22.Pop3.dll) Version: 1.1.4653.26443 (1.1.0.0)
Syntax
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
Exception | Condition |
---|---|
S22.Pop3..::..BadServerResponseException | Thrown 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..::..NotSupportedException | Thrown if the server does not implement the underlying infrastructure the Supports method relies upon. |