User:Rkentjames:Bug116181: Difference between revisions
Jump to navigation
Jump to search
Rkentjames (talk | contribs) No edit summary |
Rkentjames (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Here I will collect my understanding of how the new mail counts and flags work, and how they relate to BIFF. | Here I will collect my understanding of how the new mail counts and flags work, and how they relate to BIFF. | ||
=== Get/Set NumNewMessages | === Get/Set NumNewMessages === | ||
These routines in nsMsgDBFolder operate on the mNumNewBiffMessages variable. This is not the same as the number of messages in a folder that has the flag MsgFlagNew set. Confused? So am I! | These routines in nsMsgDBFolder operate on the mNumNewBiffMessages variable. This is not the same as the number of messages in a folder that has the flag MsgFlagNew set. Confused? So am I! |
Revision as of 07:03, 17 June 2008
Here I will collect my understanding of how the new mail counts and flags work, and how they relate to BIFF.
Get/Set NumNewMessages
These routines in nsMsgDBFolder operate on the mNumNewBiffMessages variable. This is not the same as the number of messages in a folder that has the flag MsgFlagNew set. Confused? So am I!
When a message is received from a server, then SetNumNewMessages is called to add the new messages. But the same thing is done in Virtual folder listeners, where the intention is clearly to track the number of messages with the new flag set.
I think that the NumNewMessages should exactly track the messages in the folder that have the new flag set.