I have a script that checks my outgoing email for any credit card number that are unmasked. However, if an embedded hyperlink coincidentally have the same format with the credit cards format that I am trying to filter, it flags it down and prevents me from sending the email. I want it to be able to determine if the pattern is within a hyperlink or not and perform its check before sending the email. Can someone advice on how I go about this? Am just a newbie with outlook vba so any help will be much appreciated. I'm attaching my script here.
2.3 KB Views: 54