Fix errors & stop spam
My contact form doesn't send. How do I debug it?
By the FormToMail team · Checked against official sources · Updated
Open your browser's developer tools, go to the Network tab and submit the form. No request means the form isn't wired to anything; a 404 or 4xx means a wrong URL or missing fields; a CORS error is a cross-origin problem; and a 200 with no email usually means it went to spam or the endpoint was never confirmed. The table maps each symptom to its fix.
| Symptom | Likely cause | Fix |
|---|---|---|
| Button does nothing / no request | No action, or JS handler that never sends | Add action + method="POST", or a fetch() |
| 404 Not Found | Typo in the endpoint URL | Copy the URL again from the dashboard |
| 405 Method Not Allowed | Form uses GET | Set method="POST" |
| 422 / "empty" error | Inputs have no name | Add a name to each input |
| CORS error | Cross-origin fetch blocked | See CORS error fix |
| 200 OK but no email | Spam folder, unconfirmed endpoint, or flagged as spam | Check spam, confirm the endpoint, look in the dashboard |
| Works locally, not live | URL or env var only set locally; mixed http/https | Hard-code the full https endpoint |
FormToMail-specific checks
- Activated? Submissions to a form that isn't activated yet are kept, not emailed. Open the link in the activation email once.
- Dashboard: every submission is listed with its status (sent, pending, spam).
- Pending: emails go through a daily sending allowance; if it's used up, submissions stay in the dashboard and are emailed once sending resumes.
- Monthly limit: 250 on Free, 5,000 on Pro; past it the endpoint answers 429.
Quick answers
Form submissions stopped arriving in my inbox, how do i debug it?
Check the dashboard first: if they're there, it's email delivery (spam folder, filters); if not, the form isn't reaching the endpoint.
Form submission works locally but not on my live site?
Compare the request URL in the Network tab on both. Often a localhost URL or env var leaked into the build.
Why does my form api say invalid access key?
On key-based services (like Web3Forms) the hidden access_key field is missing or mistyped. FormToMail uses the URL instead of a key.
How do I test a contact form without spamming myself?
Submit a couple of times and watch the dashboard; identical submissions within an hour are flagged as duplicates.
What to do next
Start over cleanly with a working endpoint and a dashboard that shows every submission.
Get your form endpointSources
Checked: . Prices, limits and features of other services change: confirm current values at the official links above. Product names belong to their owners; we are not affiliated with them.