mail::account::hasCapability.3x man page

Cone©

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.

Author

Sam Varshavchik

Info

08/25/2013 Cone© Cone: COnsole Newsreader And E