Don't ask to ask, just ask | |
PerlMonks |
Re: Blocking Inappropriate Content on Contact Formby afoken (Chancellor) |
on Jul 19, 2022 at 16:03 UTC ( [id://11145590]=note: print w/replies, xml ) | Need Help?? |
if ($String =~ /sex/) { What's wrong with "Greetings from Essex"? The rest of the program checks for "Not a Robot", Enter Anti Spam number, etc and then forwards the message to my email service. [...] How can this be? How is the spammer getting by my safeguards? By using the email service directly, bypassing those trivial checks? Add some logging, especially log $String (plus date plus remote IP). If you still get spam, but find no traces in the log, that's what happened. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|