i encounter a problem in my automated process.
I am reading the Subject of an email and if this subject contains one of the words that i have in my String array, the bot will continue to the next email.
The Problem that occurs is, that in most cases it works well but some mails contain a word that is in my String array and it still get edited by the bot.
→ this is the code i use to look if the words are in the subject
Contains() return a boolean (True or False value). You shouldn’t compare it with null (Nothing). Have your tried to compare it with True or False instead?