mail::ACCOUNT::getFolderFromPath — A direct short-cut to a folder
        
        
        #include <libmail/sync.H>
        
        mail::ACCOUNT *mail;
        mail::folder *folder;
        
        std::string folderPath=folder->getPath();
        
        ...
| mail::folder *f=mail->getFolderFromPath( | std::string folderPath ); | 
This function is the mail::ACCOUNT equivalent of mail::account::findFolder(3x). See the description of this function for more information.