Form to email

Send an HTML form to email without PHP.

mailto: opens the visitor’s mail client. mail() needs a server. A static host has neither. Point the form at smote. We email you and keep the row.

The HTML

<form action="https://smote.sh/f/FORM_ID" method="POST">
  <input name="email" type="email" required>
  <textarea name="message" required></textarea>
  <input type="hidden" name="_redirect" value="https://yoursite.com/thanks">
  <button>Send</button>
</form>

Create the action URL in the dashboard. We email the account when something arrives. Open the inbox if the mail is late or you want CSV.

Why not mailto

Most phones and browsers no longer have a working mail handler. The visitor sees an error, not your inbox. A form backend is the POST they expect.

Get an action URL Docs

Also: GitHub Pages · Hugo · Astro · Jekyll · Cloudflare Pages · Any static site