HTML cannot send email. A form only posts its data to the address in its action attribute, and something at that address has to turn it into an email. If nothing arrives, either the form is not posting to a working address, or the email is being sent and then lost on the way to you.
Work through the checks below in order. Most broken forms fail at the first three.
Check 1: where does the form post?
Look at the form tag. It needs an action that points at something able to receive a form, and method="POST".
No action means the form posts back to the page it is on. On a static site nothing is listening there. An action of mailto: does not send anything either: it tries to open the visitor's email program. An action pointing at a .php file only works if your host runs PHP.
The fix is an action that points at a real receiver, such as a form endpoint:
<form action="https://formtango.com/f/YOUR_FORM_ID" method="POST">
Check 2: do the fields have names?
Browsers only send fields that have a name attribute. A form whose inputs have only an id or a placeholder posts an empty body, and many receivers reject it. FormTango answers such a post with a 400 error, because there are no named fields to store.
Paste your form into the form checker. It flags a missing action, method or name.
Check 3: is JavaScript getting in the way?
- A submit handler that calls preventDefault and then never sends the data. The button appears to do nothing.
- A fetch call to the wrong address, or one that fails with a CORS error. Open the browser console and the Network tab and submit again.
- A site framework that swaps the page without a real form post. Check that a request actually leaves the browser.
Check 4: the email was sent but did not reach you
- Look in your spam or junk folder first.
- If you use your own PHP mail script, the message is often rejected or filed as spam because the server is not allowed to send mail for the From address. Use your own domain as the sender and put the visitor's address in Reply-To.
- If you use a form backend, check its inbox. If the submission is stored there, the form works and only the email step needs attention.
If you use FormTango
- The submission is in the inbox but no email came: a form created by an AI tool sends no email until it is claimed. Open the claim link to take ownership.
- Nothing is in the inbox: check the response code. 404 means the form id in the action is wrong, 403 means the form is paused, and 429 means too many submissions or the monthly limit.
- You sent it with a _test field: test submissions are stored for 24 hours and never send email.
- More cases are covered on the troubleshooting page.
The reliable setup
Use a plain form, a form endpoint as the action, a name on every field and a field named email so replies go to the visitor. The HTML form to email guide has a complete form to paste, and how to send an HTML form to email without a server compares the options.
Common questions
- Why does my HTML form do nothing when I click submit?
- Usually the form has no action, or a script calls preventDefault without sending the data. Add an action that points at a form endpoint and method="POST", then check the browser console for errors.
- Can I send email from an HTML form without PHP?
- Yes. Point the form's action at a form backend. It receives the post and sends the email, so the page needs no PHP and no server.
- Why does my form email go to spam?
- Mail sent by a web server's own mail function often fails the checks that mail providers run on the sender's domain. A form backend sends from a properly set up domain and puts your visitor's address in Reply-To.
Written by the FormTango team. Facts about other services were read from their own pages on November 22, 2026. Spotted something out of date? Tell us and we will fix it.