Hey guys
I want to remove a an email from my collection if it contains:
E.g. .com instead of .net inside the for each mail → mail.From.ToString
But i get an error as seen in the picture and i cant find any solution for that:
IMPORTANT NOTE: It reads though the first 2 mails and returns TRUE because they contain the string i want. But when it returns FALSE on the email that contains NOT the string i want then it removes it and right after gives me that error.