Fix · Forms and email
Email works on my computer but not on the live site
Blocks your work
What you may see
- Sending works locally, never online
Most likely cause
The live site lacks the email key or setting, or the host blocks the old direct-mail ports.
Check first (about two minutes)
- Compare the email variable names between local and live (names only).
The fix prompt
What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.
Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.
Prompt language
Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.
After you tried it, did it work?
Steps
- Check which method sends mail (a web API of an email service, or SMTP directly).
- Prefer the service's web API over direct SMTP on serverless hosts.
- Add the missing variables in the live host settings and redeploy; read the function log for the first error.
Do not do this
- Do not open mail ports on a host to make it work.
- Do not copy the .env file to the server by hand.