Results 1 to 1 of 1

Thread: [SOLVED] Problem when displaying messages on home page

  1. #1
    Fagnain is offline New Member
    Join Date
    Apr 2009
    Posts
    3
    Rep Power
    6

    Default [SOLVED] Problem when displaying messages on home page

    Hi, I tried to set a home page in Zimbra using portlets with the com_zimb_html zimlet, but there is some trouble with the display of my unread messages.

    To show only unread messages, I get the instance of the MailboxManager - MailboxManager.getInstance() - then I get the list of MailItems in the Inbox folder of his mailbox, testing the isUnread() value of each MailItem.

    This works fine in the first place, but when I read a message (from the Mail tab), and refresh my home page, it displays exactly the same number of messages as before. The refresh works because if I send a new mail to my user, the home page displays it in the unread messages, but every other mail I read are still here : the only way I have to show the right number of unread messages is to restart the instance of Zimbra...(it does not work if I juste clear cache or cookies of my browser).

    Does anybody knows how to refresh my home page and getting the right value ? Thx.



    I do a :
    mbx.purge(MailItem.TYPE_MESSAGE);
    (where mbx is an instance of my mailbox).
    Last edited by Fagnain; 04-27-2009 at 07:35 AM. Reason: Solved

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 11-07-2010, 01:54 PM
  2. queue problem w/ deferred messages
    By alderion in forum Administrators
    Replies: 10
    Last Post: 10-26-2006, 07:51 AM
  3. problem with admin page display.
    By jamesjr555 in forum Users
    Replies: 4
    Last Post: 06-30-2006, 12:52 PM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. Reading attachments problem
    By lenjacobs in forum Users
    Replies: 2
    Last Post: 12-27-2005, 11:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •