Results 1 to 2 of 2

Thread: [SOLVED] How to get received Date of an Email Msg?

  1. #1
    Join Date
    Dec 2008
    Posts
    16
    Rep Power
    7

    Default [SOLVED] How to get received Date of an Email Msg?

    Hi,

    This is my first post, Sorry if I mess up something.

    I was trying to retrieve an email msg using Zimbra SOAP API. Here is what I did,
    Code:
    <soap:Envelope>
        <soap:Header>
            <context>
                <authToken>
                     <some_auth_token>
                </authToken>
            </context>
        </soap:Header>
        <soap:Body>
            <GetMsgRequest>
                <m id="261"/>
            </GetMsgRequest>
        </soap:Body>
    </soap:Envelope>
    The response comes back with the proper msg, but I don't get the received date of the email in the response. When I looked at soap.txt, I found another API that is "GetMsgMetadata" should be used to find this information.

    Is there any way we can get both email msg and the received date of that email msg using 1 single request?

    Thanks for replying..

  2. #2
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    There should be a d="{received-date}" attribute on the <m> element in the GetMsgResponse. No need for a second call.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. MTA service stopping and 1m later starting again?
    By ArcaneMagus in forum Administrators
    Replies: 5
    Last Post: 03-23-2010, 09:43 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  4. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 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
  •