Hi, I am using office 365 to read mails, I have few scenario on the queries used for filtering mail.
- Lets say I need to filter only todays mail, in this case what query do i need to go with
I tried with “ReceivedDateTime eq “’+now.ToString(“yyyy-MM-dd”).tostring+”’”
it did not work… Bad request it seems
- Lets say i want see the date of mail recieved
i used mail.Header(“Date”).tostring … it is returning null value
- Lets say i want to filter based on subjects
i used “subject eq '”+str_sub1+"’ and subject eq ‘"+ str_sub2+"’"
It seems a bad request.
any sources would be great help. Happy automation.