I have done the following in the code below but still getting a ServiceObjectPropertyException. I am obviously loading the property as advised here too . Please can anyone help point out what I am doing wrongly
this.ExchangeService = new ExchangeService(ExchangeVersion.Exchange2013);
this.ExchangeService.Credentials = new WebCredentials(mailBox, password);
this.ExchangeService.Url = new Uri("https://mail.xxxxxxxxxxx.com/EWS/Exchange.asmx");
PropertySet itemProperty = new PropertySet();
itemProperty.RequestedBodyType = BodyType.Text;
SearchFilter searchFilter = new SearchFilter.SearchFilterCollection(LogicalOperator.And, new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false));
ItemView view = new ItemView(999);
view.PropertySet = itemProperty;
List<ExchangeMailResponse> emails = new List<ExchangeMailResponse>();
FindItemsResults<Item> emailMessage = this.ExchangeService.FindItems(WellKnownFolderName.Inbox, searchFilter, view);
foreach (Item mail in emailMessage)
{
ExchangeMailResponse email = new ExchangeMailResponse();
mail.Load(itemProperty);
email.Message = mail.Body.Text;
}