Unable to read email from outlook using filter option

Hello, community

Here is my code :

“[SenderEmailAddress] = '”+email_Sender+“’ and [Subject] = '”+email_Subject+“'”

I have passed email_sender and email_Subject variables from the excel sheet. If I change the value of the variable from an excel sheet then the robot should read the email of that user. But the bot is unable to read email.

Is the code right?
Any other solution?

Best Regards,


Can you please go through below weblink? it will solve your issue.
Answer is already there that is why i dont want to write.

You have two solutions to filter email,

  1. Using Filter property of Get Outlook Mail Message,
  2. Using For Each activity with IF condition.
1 Like