Hi,
I'm currently developing mail search function using EWS. (ver 2.2.1.2, Exchange 2016)
But It didn't work well using SearchFolder.
I made SearchFolder for Searching mail in subfolders.
But 'ItemSchema.Body' Searchfilter doesn't work well in Searchfolder.
It did work in one root folder, not in SearchFolder(include subfolders).
and Searching mail by subject, recipients etc..did work well in SearchFolder. only body filter get nothing in Search result.
I think It caused as Exchange Server does not get body property When making Searchfolder by performance issue.
If that so, How can I get 'body' property when I making Searchfolder?
and if it is impossible, Is there other way to Search mail by body in folder including subfolders?
I already checked that I can not use AQS in SearchFolder. also I cannot use Traversal Deep option which retrive subfolders in ordinary Searchfilter.
Is there any advise?
Thank you.