SPAM from the contact form
Someone filled out your contact form with unusual data. You get a lot of SPAM messages through your website? Do not click on the mentioned links, these could be virus-contaminated websites! Often the 3rd person wants to find out if there is a security gap in the contact form and if it is possible to send SPAM mails to external e-mail addresses via your contact form.
If you feel disturbed by the emails, you can use captcha characters to ensure that at least one natural person fills out the contact form and not an automatic computer system. However, this can only reduce the number, but not that someone enters unusual data on the contact form. To do this, the fields must be restricted.
For example, you can program your contact form so that the mailer only processes the contact form if there are no “http://” entries under ‘Name, first name, street, address’. You could limit the ‘Phone’ field to accept only numbers. Continue with such a check for all necessary fields.
<form method=”post” action=”mailer.php”>
(In this case the mailer is: mailer.php)
Make sure you don’t use any variables for the receiver!
Example of a ReCaptcha:
Most WordPress, Joomla, Typo3 contact forms can often be extended with a simple click with a ‘Captcha’. Contact your webmaster so that he can adapt the contact form accordingly.
0 out of 5 stars