I receive SPAM via my contact form

Support Wissensdatenbank

Du bist hier:

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.

Please note that you do not have to change the changes in the HTML / JavaScript part, but directly in the PHP Mailer. This requires programming knowledge. The mailer can be found in the source code of the form page which looks like this:

<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!

Website of ReCaptcha =>

=> http://de.wikipedia.org/wiki/CAPTCHA


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.

War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post