Search code examples
outlook-addinoffice-jsoutlook-web-appoutlook-web-addins

Identify parent message Id in outlook reply mail mode


i am making a js outlook addin. Here I want to get the parent message id, if user trying to reply mail.

When user opens reply mail in compose mode, i want to extract parent message Id and do some analytics.

How can we achieve this?


Solution

  • You can use EWS for getting the job done. You can navigate through the conversation and find the latest one. See How to: Get conversation items by using the EWS Managed API 2.0 for more information.