Pop3CapabilitiesDisable Method

Disable the specified well-known capability.

Definition

Namespace: MailKit.Net.Pop3
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public bool Disable(
	Pop3Capability capability
)

Parameters

capability  Pop3Capability
The capability to disable.

Return Value

Boolean
if the capability was disabled; otherwise, if it was not supported or had already been disabled.

Remarks

Disables the specified well-known capability by removing it from the set, preventing MailKit from making use of the corresponding feature.

Capabilities can only be disabled, they cannot be enabled. Disabling a capability does not affect the raw list of capability keywords advertised by the server (see Names).

  Note

The capabilities are reset each time they are re-read from the server.

See Also