Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-16-2008, 02:50 PM
Intermediate Member
 
Posts: 16
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..
Reply With Quote
  #2 (permalink)  
Old 12-17-2008, 04:52 PM
Zimbra Employee
 
Posts: 1,434
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.