1        ConeĀ©
2
3MAIL::ACCOUNT::DELET(3x)Cone: COnsole Newsreader And EMAIL::ACCOUNT::DELET(3x)
4
5
6

NAME

8       mail::ACCOUNT::deleteFolder - Delete a folder
9

SYNOPSIS

11       #include <libmail/sync.H>
12
13       mail::ACCOUNT *mail;
14       mail::folder *folder;
15
16       bool ok=mail->deleteFolder(const mail::folder *folder,
17                                  bool deleteDirectory);
18
19                                  std::string errmsg=mail->getErrmsg();
20

USAGE

22       This function deletes an existing folder.  deleteDirectory specifies
23       whether the existing folder is regular folder, or a folder directory.
24
25           Note
26           This function only removes the actual folder in the mail account.
27           The folder object is not affected, the application is still
28           responsible for destroying the object, when it is no longer needed.
29

RETURN CODES AND CALLBACKS

31       This method returns true if it succeeds, or false if it fails. If the
32       method fails, use mail::ACCOUNT::getErrmsg() to read a brief
33       description of the error.
34

SEE ALSO

36       mail::ACCOUNT::getFolderFromPath(3x),
37       mail::ACCOUNT::getFolderFromString(3x),
38       mail::folder::createSubFolder(3x).
39

AUTHOR

41       Sam Varshavchik
42
43
44
45ConeĀ©                             08/25/2016          MAIL::ACCOUNT::DELET(3x)
Impressum