EWS Managed API How to get Internet message headers on emails

Exchange Web Service
Exchange-Web-Service

This sample shows you how to use the Exchange Web Services EWS Managed API to get Internet message headers on emails programmatically.

Extended properties enable Microsoft Exchange Server clients to add customized properties to items and folders that are stored in an Exchange mailbox. Custom properties can be used to store data that is relevant to an object.

Sample method:

The following method GetEmailInternetMessageHeaders accepts an instance of the ExchangeService class to connect to the Exchange Web Service.

In This method we find the first email message in the target mailbox and show three different ways to get Internet message headers for an email message.

To start using EWS Managed API, see this article: http://dotnet-practice.com/utiliser-exchange-web-service-ews-managed-api/

Result:

Internet Message Header
Internet Message Header

Be the first to comment

Leave a Reply

Your email address will not be published.


*