Problem using filter in Get Outlook Mail Messages activity

I am trying to get emails using the Get Outlook Mail Messages:


This is the settings in the properties:

What I am trying to do is to get emails from my Inbox that has this Subject:
Subject: Undeliverable: TO see Undelivered mail response
image

And so I configured the Filter field in the properties as such:

“[Subject]=‘Undeliverable: TO see Undelivered mail response’”

However, when I run the code no emails are returned.
I have tried using other Subjects and I can get the results. And then I tried to send an email with this subject:
“Undeliverable TO see Undelivered mail response”
without the “:” and I amended the Filter field as well to
“[Subject]=‘Undeliverable TO see Undelivered mail response’”
And then when I ran it worked.

I came to the conclusion the reason why the Get Outlook Mail Messages activity is not returning any emails is because of the “:” in the Filter field input of

“[Subject]=‘Undeliverable: TO see Undelivered mail response’”

However, the requirement is that I search for emails with the Subject :

Undeliverable: TO see Undelivered mail response

Outlook itself sends emails that notify that an email was not delivered with the Subject “Undeliverable: <title of the email that was sent>”

Can someone help me by telling how the filter can be configured so that emails with the Subject : Undeliverable: TO see Undelivered mail response can be searched and returned by Get Outlook Mail Messages.

Thanks.

Hello,
Undeliverables are notifications not mails so you can use get exchange mail messages or use your custom code also you will find same in below links for the same query.