Logo Search packages:      
Sourcecode: kcheckgmail version File versions

getNewCount

Retrieve the number of unread messages.

If realCount is false the box parameter is ignored.

Parameters:
realCount If the number of unread messages should be taken from the totals or only from the parsed messages
box The name of the box (inbox, drafts, spam; or in the future: label) from where the real number of unread messages should be taken from
Returns:
The number of unread messages (true,"inbox") Get the real number of unread messages in the inbox
Todo:
Check if box is the name of a label

Generated by  Doxygen 1.6.0   Back to index