mail::account::hasCapability.3x

Langue: en

Version: 05/24/2008 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

mail::account::hasCapability - Mail account's properties

SYNOPSIS

 mail::account *account;
 
bool flag=account->hasCapability(std::string capability);

USAGE

This function checks this mail::account's properties. The list of potential properties, or capabilities, depends on the account. The currently defined list of properties are:

LIBMAIL_SINGLEFOLDER

Whether this account contains a single incoming mail folder (currently only pop3 accounts have this capability defined).

RETURN CODES AND CALLBACKS

The hasCapability method returns true if the account supports the indicated capability.