Recently I searched for a little piece of software to send emails from a webpage. Easy-peasy. I was totally certain that a quick search will bring up some easy-to-setup open source solution on the first page. That was not the case, instead I got offers from SaaS solutions like formspree.io, which of course is cool and all, but I was determined to have this little piece of software self-hosted. You know, decentralization, independence and all.
Since I couldn’t find a simple software to do that fairly little job for me I figured I’m gonna hack it myself with a bit of flask and share it for people with a similar issue.
So let me introduce you to formidable . A little flask application picking up a POST request from a web form sending it directly to a configured e-mail address:
|
|
Do you really need a SaaS for everything?
After putting this together in roughly 2 hours including setting this up with automatic deployment, nginx config, ssl and whatnot I felt kinda validated to not take a SaaS for this job. My first impulse was just to sign-up for a hassle-free solution like formspree.io
to just wipe that task off my todo list, but spending a little time to have a provider independent solution where I can control privacy and uptime myself is worth it, as I think.