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

NAME

8       mail::folder::create - Create a new folder
9

SYNOPSIS

11       #include <libmail/mail.H>
12
13
14       class myCallback : public mail::callback {
15       public:
16           void success(std::string msg);
17           void fail(std::string msg);
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 succesfully
32       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
37           callback's fail method may be invoked even after other callback
38           methods were invoked. This indicates that the request was partially
39           completed before the error was encountered.
40

SEE ALSO

42       mail::folder::createSubFolder(3x), mail::folder::renameFolder(3x).
43

AUTHOR

45       Sam Varshavchik
46
47
48
49ConeĀ©                             08/25/2016          MAIL::FOLDER::CREATE(3x)
Impressum