1mail::folder::hasSubFoldmearisl(:3:xf)older Native API rmeafielr:e:nfcoelder::hasSubFolders(3x)
2
3
4

NAME

6       mail::folder::hasSubFolders  -  Determine  if  the folder is capable of
7       storing other folders
8

SYNOPSIS

10       #include <libmail/mail.H>
11
12       mail::folder *folder;
13
14
15
16       bool flag=folder->hasSubFolders(void);
17

USAGE

19       Some folders contain messages.   Other  folders  contain  other  folder
20       (subfolders).   Some  IMAP servers are capable of creating dual-purpose
21       folders that contain both messages and other subfolders.   The  hasSub‐
22       Folders indicates whether folder is capable of containing other folders
23       (subfolders).
24

RETURN CODES

26       A true result indicates that folder is capable of storing  other  fold‐
27       ers.   It  may  not  necessarily mean that folder actually contains any
28       folders, it might very well be an empty folder.
29
30       Applications  should  interpret  a  true  result  to  mean   that   the
31       mail::folder::createSubFolder(3x)  function  may be used to create sub‐
32       folders.
33

SEE ALSO

35       mail::folder::hasMessages(3x).
36
37
38
39                                 10 April 2006 mail::folder::hasSubFolders(3x)
Impressum