Add Headers in EWS Requests
Contents[ Hide ]
Aspose.Email API allows adding headers to Exchange requests. This can be used to add headers to the EWS requests for different headers that can be used for different purposes. Once such example could be adding the X-AnchorMailbox header that is used to manage the throttling issues on Exchange server.
The addHeader() method of the IEWSClient is used to add headers to the EWS requests as shown in the following code sample.