I want to search inbox with the From field.So I build the constrains with the code below:
var fromConstrains = new SearchFilter.ContainsSubstring(); fromConstrains.PropertyDefinition = EmailMessageSchema.Sender; fromConstrains.Value = model.From; andType.Add(fromConstrains);
Then I use the "andType" to search my Inbox,because the from is just like 李晓强<lixiaoqiang@hotmail.com> so,the users input "李晓强" as the query condition, I sure have some email from 李晓强,but it did not search out any one....
It just puzzled me...
十步杀一人,千里不留行