View Single Post
  #9 (permalink)  
Old 02-23-2007, 10:16 AM
dkarp dkarp is offline
Zimbra Employee
 
Posts: 1,434
Default zmmailbox option

What I should have asked was what language you're using and whether there's a Zimbra install on the box.

You can use the zmmailbox gf command to fetch this data, then just parse the results of executing the command.

If you're in Java, you can use the com.zimbra.cs.zclient.ZMailbox class to fetch this data: new ZMailbox(...).getFolderByPath("Inbox").getUnreadCo unt().
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote