5 ms·
I am running a few websites which have a simple feedback forms which POST to a simple PHP script that sends me an email. By filtering for a few keywords, you c
by curiousfab 2y ago
I am running a few websites which have a simple feedback forms which POST to a simple PHP script that sends me an email.
By filtering for a few keywords, you can get of 99% of the form spam.
Deliverability has never been an issue for me since (of course) I run my own mail server.
But I doubt it's a serious issue when you take the little time it takes to set up DKIM etc.
I wouldn't make it more complicated than it has to be :-)
- handzhiev 2y agoI would add a simple db to save the form submissions - this way there would be no risk of losing data in case the email did not arrive
- mmarian 2y agoI agree, I even went the other way and removed the email notification and just kept an embedded SQLite database. I figured that's more reliable than hoping the emails always end up in my inbox.
- mmarian 2y agoMy Go script is pretty simple too, I'm more worried about the stuff around it really. How do you host your PHP script by the way? > By filtering for a few keywords, you can get of 99% of the form spam. Interesting, didn't think about it. You do this in the UI logic before the form is submitted? What keywords do you use? > Deliverability has never been an issue for me since (of course) I run my own mail server. Fair enough, I assumed this would be an issue so I never explored the possibility of hosting my own mail server.
- manuelmoreale 2y agoI have a form on my website to leave a message on the /guestbook I added the simplest and most basic of captchas and so far I got 0 spam. It’s been online for months at this point. Sometimes a stupidly basic solution works incredibly well.
- ulrischa 2y agoTrue. No Service needed. Just a cheap php webhosting, a simple Form and a php script