Contact Form Not Working
Submit button works. Nothing in your inbox. Usually it is the endpoint, not the button.
Check in this order
- Spam and promotions folders
- Form action URL and API key in production
- Domain DNS (SPF, DKIM) if using custom email
- Hosting form limits or blocked SMTP
- JavaScript errors on submit
Quick wins
Send a test to a Gmail address, verify the form posts to a live endpoint, and confirm env vars match production. Many AI sites ship with placeholder endpoints.
Common questions
Why did it work in preview?
Preview often uses the vendor's mail relay. Your domain in production needs correct DNS and a wired endpoint.