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/mail.H>
13
14
15 mail::account *account;
16
17 size_t count=account->getFolderIndexSize(void);
18
20 mail::account::getFolderIndexSize returns the number of messages in the
21 currently open folder. Messages in the folder are numbered starting
22 with zero, and ending with one less than the number returned by this
23 function.
24
25 For example, if mail::account::getFolderIndexSize returns 5 it means
26 that there are five messages in the folder, numbered 0 through 4.
27
29 This function always succeeds, returning the message count.
30
32 mail::account::readMessageAttributes(3x),
33 mail::account::getFolderIndexInfo(3x).
34
36 Sam Varshavchik
37
38
39
40ConeĀ© 08/25/2016 MAIL::ACCOUNT::GETFO(3x)