Hi,
I want to retrieve specific data from mail body sent by the specific person in inbox.
But i am getting this error…Any suggestions?
In this case the error seems to be in the condition that should be type boolean
so what should i do to get the data?
In your first if condition you should have something like: item.From.contains(“xxxxx”)
Hello there,
Try this,
item.From.Address.Contains(“abc@xx.com”).ToString