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

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
VistoPartner
Posts: 16
Joined: Fri Sep 12, 2014 11:56 pm

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

Post by VistoPartner »

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,
































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..
dkarp
Elite member
Elite member
Posts: 1410
Joined: Fri Sep 12, 2014 9:52 pm

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

Post by dkarp »

There should be a d="{received-date}" attribute on the element in the GetMsgResponse. No need for a second call.
Post Reply