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

NAME

6       mail::ACCOUNT::deleteFolder - Delete a folder
7

SYNOPSIS

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

USAGE

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

RETURN CODES AND CALLBACKS

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

SEE ALSO

34       mail::ACCOUNT::getFolderFromPath(3x),
35       mail::ACCOUNT::getFolderFromString(3x),
36       mail::folder::createSubFolder(3x).
37
38
39
40[FIXME: source]                   05/08/2010          MAIL::ACCOUNT::DELET(3x)
Impressum