Point a plain HTML form at a Formcask endpoint. No PHP, no serverless function of your own.
Static sites cannot run a mail script. Formcask is the missing POST target. 1. Create a free account and a form. Copy the endpoint, which looks likehttps://formcask.com/f/f_….
2. Use this markup, replacing the form id:
<form action="https://formcask.com/f/f_YOUR_FORM_ID" method="POST"> <input type="text" name="name" required> <input type="email" name="email" required> <textarea name="message" required></textarea> <input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off"> <button type="submit">Send</button> </form>3. Optional: add
<input type="hidden" name="_redirect" value="https://yoursite.com/thanks"> or set a default redirect on the form.
4. Submissions appear in the dashboard and, on Free, arrive by email. Upgrade to Pro for signed webhooks and file uploads.
Works with GitHub Pages, any CDN, and local HTML files (CORS is open for POST).