#include <libmail/sync.H>
mail::ACCOUNT *mail;
mail::folder *folder;
std::string errmsg=mail->getErrmsg();
This function deletes an existing folder. deleteDirectory specifies whether the existing folder is regular folder, or a folder directory.
NOTE: | This function only removes the actual folder in the mail account. The folder object is not affected, the application is still responsible for destroying the object, when it is no longer needed. |
This method returns true if it succeeds, or
false if it fails.
If the method fails, use
mail::ACCOUNT::getErrmsg()
to read a brief
description of the error.
mail::ACCOUNT::getFolderFromPath(3x), mail::ACCOUNT::getFolderFromString(3x), mail::folder::createSubFolder(3x).
<<< Previous | Home | Next >>> |
mail::ACCOUNT::createFolder | Up | mail::ACCOUNT::delRights |