1MAIL::FOLDER::CREATE(3x)mail::folder Native API referencMeAIL::FOLDER::CREATE(3x)
2
3
4

NAME

6       mail::folder::create - Create a new folder
7

SYNOPSIS

9       #include <libmail/mail.H>
10
11
12       class myCallback : public mail::callback {
13       public:
14           void success(std::string msg);
15           void fail(std::string msg);
16       };
17
18
19
20       folder->create (bool createDirectory, myCallback &callback);
21

USAGE

23       An   alternative   way   to   create   a   new   folder   is   to   use
24       mail::account::folderFromString(3x) to re-create a folder  object,  and
25       then use the new object's create method to create the folder.
26
27       See mail::folder::createSubFolder(3x) for more information.
28

RETURN CODES AND CALLBACKS

30       The  application  must  wait until callback's success or fail method is
31       invoked.  The success method is invoked when this  request  is  succes‐
32       fully  processed.  The fail method is invoked if this request cannot be
33       processed.  The application must not destroy callback until either  the
34       success or fail method is invoked.
35
36              Note:  callback's  fail  method  may be invoked even after other
37              callback methods were invoked.  This indicates that the  request
38              was partially completed before the error was encountered.
39

SEE ALSO

41       mail::folder::createSubFolder(3x), mail::folder::renameFolder(3x).
42
43
44
45                                 10 April 2006        MAIL::FOLDER::CREATE(3x)
Impressum