Returns whether the IMAP server supports the given capability
(See RFC 3501 [6.1.1]).
public queryCapability ( string $capability ) : mixed | ||
$capability | string | The capability string to query. |
Результат | mixed | True if the server supports the queried capability, false if it doesn't, or an array if the capability can contain multiple values. |