How to generate a specific url to an email in ms exchange server using message id?

Posted on

QUESTION :

I am writing an email client application for ms-exchange.
I have the full email data (content and headers including message id) fetched from exchange server (I used IMAP for fetching the messages).

My client application will list the messages one by one with subject as clickable links.
When clicked on a message, it should take the user to the exchange webaccess with the specific message opened in browser.

My question is, how do I form a link to the specific email using messageid or any other info?

ANSWER :

You have to create a URL like the following:

https://myserver/owa/?ae=Item&a=Open&t=IPM.Note&id=[ItemId]

Check out this article for more information about the OWA URL parameters.

Leave a Reply

Your email address will not be published.