We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Open source form receiver and forwarder for static website

Avatar photo[anonymous]

Hello everybody,
I was also looking for a forms service. The DSGVO / data protection makes an external integration difficult.
Every hosting, no matter how small, nowadays includes php.
Therefore I have built a system from the Internet from different code snippets with client and server-side spam protection:

Client side: Honeypot, waiting for keyboard and mouse input
Server-side: comparison of the domain, valid e-mail address, no URL in the text

Look at:

The code now consists of
HTLM and Javascript code (both in the contact post)
php-mailer as mailing basis (
– php configuration file (mailconfig.php) in the web subdirectory /E_Mail_Code/
– php-contact file (conact.php) in the web subdirectory /E_Mail_Code/

Unfortunately, some of the scripts have been translated by me into German.

Overall, a good contact form is more difficult than I thought. Especially if you want to comply with data protection and do not want to receive spam. For me the solution now works very well.