Exchange Server doesn't support the requested version.
SearchFilter sf = new SearchFilter.SearchFilterCollection(LogicalOperator.And, new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false)); FindItemsResults<Item> items = service.FindItems(WellKnownFolderName.Inbox, sf, new ItemView(10)); foreach (Item item in items.Items) { PropertySet propSet = new PropertySet(BasePropertySet.IdOnly, ItemSchema.TextBody); EmailMessage email = EmailMessage.Bind(service, item.Id, propSet); Program.SearchItems(email); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)