1 ConeĀ©
2
3MAIL::ACCOUNT::GETFO(3x)Cone: COnsole Newsreader And EMAIL::ACCOUNT::GETFO(3x)
4
5
6
8 mail::ACCOUNT::getFolderIndexSize - Return number of messages in the
9 current folder
10
12 #include <libmail/sync.H>
13
14 mail::ACCOUNT *mail;
15
16 size_t messageCount=mail->getFolderIndexSize(void);
17
19 mail::ACCOUNT::getFolderIndexSize returns the number of messages in the
20 currently open folder. Messages in the folder are numbered starting
21 with zero, and ending with one less than the number returned by this
22 function.
23
24 For example, if mail::ACCOUNT::getFolderIndexSize returns 5 it means
25 that there are five messages in the folder, numbered 0 through 4.
26
28 This function always succeeds, and returns the number of messages in
29 the currently-open folder.
30
32 mail::ACCOUNT::getFolderIndexInfo(3x), mail::ACCOUNT::openFolder(3x)
33
35 Sam Varshavchik
36
37
38
39ConeĀ© 08/25/2016 MAIL::ACCOUNT::GETFO(3x)