Stopping contact form spam

4 replies · opened Sep 18, 2020

CClareOkiSep 18, 2020

We're getting 4-5 spam contact form emails every day. We had no spam with our previous website contact form (a different theme). Is it possible to disallow links in the message as a deterrent? Or any other suggestions?
Thanks

SSemicolon WebSTAFFSep 18, 2020

Hello,

Apologies about the Inconveniences caused!

The issue is that these Forms are filled up by Real People who send out SPAM and not Bots (our Forms Processors are designed to protect against Bot SPAMs), which is why the reCaptchas are also passed.

Simply open the include/form.php File and find/edit the $spam_keywords Array to add the words you want to block.

If the words are found in any Field on your Form, the Processing will be stopped and the response will not be sent. However, it will still show a Successful Message to the User so that they don’t know what is going on behind the hood which will prevent them from finding another way of sending SPAM.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

CClareOkiSep 22, 2020

Will this method work for Russian words typed using Russian characters? So if I add words written with Russian characters, will the filter only block exact matches or will it translate into English and exclude those too? Also, if I want to exclude Russian email links in the body of the message text, will it work to put .ru in my list of words to block?
Many thanks

SSemicolon WebSTAFFSep 22, 2020

Hello,

  1. The Form should block the Exact Words as added in the include/form.php File in any language. There is no Translation Service.

  2. Adding .ru should work fine.

Meanwhile, you can also add these filters in your Email Clients.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

CClareOkiSep 23, 2020

Many thanks!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard