Spam messages or spam mail, also known as spam, is a form of electronic communication that is sent en masse and unauthorized, usually by e-mail. This type of message usually has a commercial or marketing character, but may also include other types of content such as fake messages, scams, or even viruses and Malware.
Here are some key features of spam mail:
- Undesirable content: Spam messages often contain advertisements for products or services that have not been requested or approved by the recipient.
- Bulk Sending: Spam senders usually use automated tools or bots to send large amounts of messages at the same time. This allows spam messages to be sent to thousands or even millions of email addresses at the same time.
- Unauthorised sending: Recipients of spam messages usually did not give consent or consent to receive these messages. Spam senders often collect email addresses in a variety of ways, including unethical methods such as buying or stealing address lists.
- Misrepresentation: Spam senders often use false or misleading information to attract the attention of recipients or avoid email filtering. This may include the use of fake senders or message subjects.
- Harmful content: In addition to advertisements and marketing offers, spam messages may also contain links to malicious software, viruses, or phishing sites that try to trick users into revealing personal information such as passwords or bank details.
Spam mail is not only irritating to the recipient, but can also pose a serious security risk, especially if it contains harmful or malicious software. This is why various tools and techniques have been developed to filter and fight spam messages.
How to solve the problem of spam messages?
There are several ways to solve this problem:
- Use of CAPTCHA or reCAPTCHA: CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) and reCAPTCHA are technologies that require users to confirm that they are human, not automatic bots. This may prevent automated bots from sending spam messages via the contact form.
- Implement filters on the server side: The server is set to filter incoming data and eliminate suspicious or unsolicited messages before they are forwarded to your email server or database.
- Use of honeypot fields: Honeypot field is a hidden field that is not visible for human users but is visible for vending machines. When bots try to fill this field, it can serve as an indicator to identify spam messages.
- Setting limits: Setting restrictions on the contact form, such as the minimum number of characters in the message or the minimum time spent on the page before sending the form. This can make it difficult for automated bots to successfully fill the form.
- Adjusting the rules of writing form: Form writing rules are done by checking the typical characteristics of spam messages, such as overuse of capital letters or unacceptable characters.
Spam messages with contact form
Spam mail from the contact form is especially irritating when it comes to the contact form, but the problem that arises is that filters filter all the mail and the missee does not get the mail he was supposed to get that is not spam.
In order to solve this problem, the server defines the so-called SPF, DKIM and DMARC records that look like in the picture below:

The above record is placed on the server in the form of a txt document:

Putting these records with a combination of placing a specific code on the website prevents messages from the contact form from going to spam, and the contact form itself with the previous methods simply solves the problem of incoming spam mail.
When we in Insertiowebu we make websites, solving these problems has become automated. If the spam posha still appears, then we put additional filtering on the site and thus we can filter 99.99% Unsolicited messages.
