Class Capability.

Inherits Command

Announces supported features (RFC 3501 section 6.1.1).

We announce the following standard capabilities:

RFC 3501: IMAP4rev1, STARTTLS, LOGINDISABLED. RFC 3502: MULTIAPPEND RFC 2086: ACL RFC 2088: LITERAL+ RFC 2177: IDLE RFC 2971: ID RFC 2342: NAMESPACE RFC 2359: UIDPLUS RFC 3691: UNSELECT RFC 2245: AUTH=ANONYMOUS RFC 2595: AUTH=PLAIN RFC 2195: AUTH=CRAM-MD5 RFC 2831: AUTH=DIGEST-MD5 RFC 3348: CHILDREN RFC 3516: BINARY RFC 4469: CATENATE RFC 4551: CONDSTORE RFC 4467: URLAUTH RFC 4731: ESEARCH (also from RFC 4466) RFC 4959: SASL-IR RFC 4978: COMPRESS=DEFLATE RFC 5032: WITHIN RFC 5256: SORT RFC 5258: LISTEXT

We also announce a number of draft capabilities, if the configuration variable announce-draft-support is set to true. By default it's not.

static String Capability::capabilities( IMAP * i, bool all )

Returns all capabilities that are applicable to i. If all is specified and true, the list includes capabilities that are not applicable to the current IMAP::state().

This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.