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?
I need the same but I need something like the following “contains(subject,‘P123’)” but I need another contains inside the filter and is not working.
e.g. My Subject: Filtering subject by the first letter ending with email@example.com
I would like to filter If contains the first word and also If contains the email in the subject. Is this can be done in the filter of Get Mail activity office 365?
All documentation is for Subject, From, and Category. I need other properties such as attachment content, received date, body content, etc. Is there a place where all properties syntax is found?