How to apply multiple subject filters in get outlook mail message or for each email?

Then try setting the condition like this

arr_subjectlines.Any(Function(a) item.Subject.ToString.Trim.Contains(a.ToString.Trim))

If it’s true it goes to then block or to else block

It’s just the other way of comparing

Cheers @TIN_RPA

1 Like