Wrong new message count
Status: Beta
Brought to you by:
lucclaes
Hi,
The new message count in FolderProxy class always
returns -1. This is because the Namespace for
unreadcount is NS_HTTPMAIL and not NS_DAV
(reference http://jhttpmail.sourceforge.net/httpmail.html\).
Changing the line
fp.m_nUnreadCount = Util.getIntValue
(elemProp.getChild("unreadcount",
JDAVMail.NS_DAV), -1);
to
fp.m_nUnreadCount = Util.getIntValue(elemProp.getChild
("unreadcount", JDAVMail.NS_HTTPMAIL ), -1);
Also the methods getNewMessageCount and
getUnreadMessageCount are not implemented in the
JDAVMailFolder. These can be easily impelmented in
the FolderProxy by returning the m_nUnreadCount.
Thanks for the great implementation.
Cheers,
Ajay
Logged In: YES
user_id=494564
Fixed in the 0.9.004 snapshot. Thanks.