Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

[E2010] [EWSJA] [JAVA] [Windows Server 2003] email having null character in subject

$
0
0
Hello,

I'm using EWS Java API

when finding item from an exchange server (2010) a got the following exception when the subject of one email subject is : =?iso-8859-1?Q?=00?=

microsoft.exchange.webservices.data.EWSHttpException: Connection not established
    at microsoft.exchange.webservices.data.HttpClientWebRequest.throwIfConnIsNull(Unknown Source)
    at microsoft.exchange.webservices.data.HttpClientWebRequest.getResponseHeaders(Unknown Source)
    at microsoft.exchange.webservices.data.ExchangeServiceBase.processHttpResponseHeaders(Unknown Source)
    at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(Unknown Source)
    at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(Unknown Source)
    at microsoft.exchange.webservices.data.ExchangeService.findItems(Unknown Source)
    at microsoft.exchange.webservices.data.ExchangeService.findItems(Unknown Source)

I'm searching for new item like this :

ItemView view = new ItemView(ITEM_VIEW_MAX_ITEMS);

FindItemsResults<Item> lFindResults = exchangeService.findItems(folder.getId(), view);

Email can be read using other mean than EWS Java API (through OWA for example, I can read the email) Where can I fill a report for EWS Java API ?

Also, as I got this error, I'm not able to got other items. Is there a way to still iterate through other items, besides having this error ?

Regards,

Laurent

Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>