I am trying to retrieve email from Office 365 outlook.
I have already got it to retrieve all emails in the specified folder, without any problem. Now, I want to use the filter query so that I will only retrieve the following emails:
emails whose subject line contains “examplePhraseA” or “examplePhraseB”.
emails whose subject line starts with “examplePhraseC”
emails whose email body contains “examplePhraseD”
emails whose email body starts with “examplePhraseE”
I checked the URL provided, and it seems like I could use $filter=startswith( but I am not sure exactly how.
Can someone please help me out?