send.webforms.toRead the docs →

Form to email: working code for your stack

Pick your stack, optionally set a subject line, copy code that sends form submissions to your inbox. Plain HTML needs zero JavaScript; the fetch, React and Next.js versions handle success and error states; the WordPress version needs no plugin. None of them need a server, SMTP credentials or an email-sending library.

Your stack

Working code
<form action="https://send.webforms.to/wft_your_key" method="POST">
  <label for="email">Your email</label>
  <input type="email" id="email" name="email" required>

  <label for="message">Message</label>
  <textarea id="message" name="message" required></textarea>

  <button type="submit">Send</button>
</form>

<!-- That's the whole thing. The POST goes to the endpoint,
     the endpoint emails you, and replies go to the visitor
     because the field is named "email". -->

Why a form can't email you by itself

HTML has no "send email" capability - a mailto: action just opens the visitor's mail app and hopes, which loses every message from someone without one configured. Actually sending mail requires a server with sending reputation, SPF and DKIM records, bounce handling and spam filtering. The code above outsources exactly that part: the form posts to an endpoint, the endpoint delivers to your inbox from warmed infrastructure, and replying reaches the visitor because the field is named email. The tradeoffs of the alternatives are covered honestly in form to email, three ways.

What happens after the POST

Every submission is stored and searchable in a dashboard, spam is filtered before delivery (honeypot, time trap, disposable-email blocking, content heuristics), and a delivery log records each attempt - so "did that message actually arrive?" has an answer. The same submission can also go to Slack, Telegram or a webhook at the same time. Details on the email side specifically - reply-to, CC, custom sender name, auto-responses - are on the email destination page.

Need more fields than email and message? The HTML form generator builds the markup for any field set, and the templates gallery has complete forms for common use cases.