Results 1 to 3 of 3

Thread: Obtaining unread message count

Hybrid View

  1. #1
    Join Date
    Jul 2013
    Posts
    2
    Rep Power
    2

    Default Obtaining unread message count

    Hi,
    I was using zimbra 5. In that the code below was working fine to get unread msg count of inbox using soap request. In response I was getting the "folder". Once i updated Zimbra to 7.2.4 the code below return the auth token but it is not returning the "folder".


    Request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
    <c:context xmlns:c="urn:zimbra"/>
    </soapenv:Header>
    <soapenv:Body>
    <ar:AuthRequest xmlns:ar="urn:zimbraAccount">
    <account by="name">abc@def.org</account>
    <preauth expires="0" timestamp="3242342">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx</preauth>
    </ar:AuthRequest>
    </soapenv:Body>
    </soapenv:Envelope>

  2. #2
    Join Date
    May 2013
    Location
    California
    Posts
    27
    Rep Power
    2

    Default

    I'm just learning the Zimbra SOAP stuff, so please bear with me if this question is just way too obvious. I don't see where you are asking for the unread message count in your request. I see you make an auth request, but that's all I see. What am I missing?

    TIA for the education...
    Kathy A.

  3. #3
    Join Date
    Jul 2013
    Posts
    2
    Rep Power
    2

    Default

    Thats what i mentioned above that this code is working fine with zimbra 5. By sending this request above i get a folder in response which includes all the counts.
    But when i updated zimbra to 7.2.4 i am not receiving the folder. So what request i send and how to receive unread message count.

Similar Threads

  1. Getting unread message count in zimlet
    By skyflyer in forum Zimlets
    Replies: 4
    Last Post: 04-16-2012, 07:10 AM
  2. Unread Message Count In shared Folder
    By Mike Scholes in forum General Questions
    Replies: 8
    Last Post: 06-10-2009, 04:30 PM
  3. Replies: 3
    Last Post: 07-28-2008, 01:20 AM
  4. Inbox unread message count is wrong
    By dhallweb in forum Administrators
    Replies: 6
    Last Post: 08-26-2006, 02:03 PM

Tags for this Thread

Posting Permissions

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