Java Mail API unread message count incorrect

Sean McElroy <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <DB7PR03MB4603A509616BF53A1A37110B96C69@DB7PR03MB4603.eurprd03.prod.outlook.com>
Hello,

I have configured Apache James to use PostgreSQL and when I call the Java Mail API IMapFolder. getUnreadMessageCount method the returned count is often incorrect, but I can see in the james_mail database table that the data in the mail_is_seen column is correct.

Is it possible that this value is cached by the Mail API and is there a way to synch this?

Best Regards,
Sean McElroy


Confidential Communication: The contents of this e-mail including any attachment are confidential and intended solely for the person(s) to whom they are addressed. Any reader of this email who is not the intended recipient is notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete all copies from your computer system. Subsequent alterations to this email after its transmission will be disregarded.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.