OnMessageClassified then sets oldCount (0) - spamCount (1) with SetNumNewMessages for folder "Bugzilla". However, mail A was moved to the folder "Bugzilla" and GetNumNewMessages (called at the end of OnMessageClassified) returns 0 instead of 1. nsMsgLocalMailFolder::OnMessageClassified correctly detects the junk and moves them to the junk folder. The mails are downloaded, normal filters and junk-filtering runs. ![]() This setup should result in 1 new message in the inbox but the icon showing "2".Īs far as I could track the problem down, this is what happens: Both mails should be moved to the Junk-folder automatically. Mail A and B should be marked as junk by the junk filter. ![]() Mail B and C do not match the filter and stays in the inbox Mail A matches the filter and is moved to the folder Bugzilla ![]() A mail filter rule that moves messages with "bugzilla" in the subject line to a folder "Bugzilla" ![]() To trigger it set up the following scenario: I digged around in the code a bit an found what I think is the reason for the wrong number shown in the Dock icon:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |