I am developing a outlook Web App (Office 365 Developer). Regarding that, is there a way to read the headers of the selected mail which lays on inbox?. I am using Exchange server 2013. I would like to use Jquery or Javascript for write the code.
I tried to add "Message Header Analyzer" from Microsoft ( link:- 'https://store.office.com/message-header-analyzer-WA104005406.aspx?assetid=WA104005406'). Now it is working properly and it can read headers. But I need to implement the same functionality using my own codes.
If anyone can provide a good reference as a start, I would greatly appreciated that. (because, I got a great effort in searching google. But.. still no luck)
thanks in advance.
First of all, I would like to thank all the persons who responded me to develop a solution for the this. Special thanks should goes to @FreeAsInBeer and MrPiao. After spending several days I was lucky to develop a perfect solution for getting mail headers (My Tech-lead helped me a lot in this). This works fine. I got some time and removed all the unnecessary business logic from the code and finally come up with the following code. I think now any one can use it for reading the headers of inbox emails using J Query.
I am making an EWS request outside to get the headers. From it callback method I can retrieve the expected result. Afterwards, it is better to use jQuery.parseXML to read and manipulate the response (which is not included in the code)
I hope this explanation will help you.
Thank You. Kushan Randima