mail::ACCOUNT::getFolderFromPath.3x man page

Cone©

mail::ACCOUNT::getFolderFromPath — A direct short-cut to a folder

Synopsis

#include <libmail/sync.H>

mail::ACCOUNT *mail;
mail::folder *folder;

std::string folderPath=folder->getPath();

...

mail::folder *f=mail->getFolderFromPath(std::string folderPath);

Usage

This function is the mail::ACCOUNT equivalent of mail::account::findFolder(3x). See the description of this function for more information.

Return Codes and Callbacks

This function returns a NULL pointer if it cannot allocate memory for the new mail::folder object.

See Also

mail::account::findFolder(3x).

Author

Sam Varshavchik

Info

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