A contact form that emails you
The classic name / email / message form — on your contact page or in your footer — with every message delivered to your inbox.
When you want this form
Every website needs a way for visitors to get in touch, and a contact form beats publishing your email address: no spam harvesters scraping it, no mailto: awkwardness, and the message arrives with the sender's address already set as reply-to.
If your site is static — plain HTML on any host — it can't receive the form POST itself. Form2Email receives it and emails you the message. There is no PHP, no server code, and no account to create.
The form
Paste this into your page and replace your-token with the
token from your endpoint (setup below):
<form action="https://form2email.terragohan.com/f/your-token" method="post"> <label for="name">Name</label> <input id="name" name="name" required> <label for="email">Email</label> <input id="email" name="email" type="email" required> <label for="message">Message</label> <textarea id="message" name="message" rows="6" required></textarea> <!-- optional: your own thank-you page after submit --> <input type="hidden" name="_redirect" value="https://yoursite.com/thanks"> <button type="submit">Send message</button> </form>
That's the whole integration. The form works with or without JavaScript,
on any host that can serve an HTML page. Style the fields however you like
— only the action, method="post", and the input
name attributes matter to Form2Email.
Set it up
-
Create the endpoint
Use the tool on the homepage — or
POST https://form2email.terragohan.com/api/endpoints— with the email that receives submissions and the exact domain this form lives on. -
Verify the email
We send a verification link to the destination address — single-use, valid 24 hours. Nothing is accepted until a human clicks it. Add
form2email@terragohan.comto your trusted senders. -
Point the form at it
Put your public URL in the form's
action. Submissions are only accepted from the domain you registered — exact hostname match, subdomains need their own endpoint. -
Keep it alive
Endpoints stay active for 7 days after verification. Extend for free (+7 days, as often as you like) from your manage page — extending also revives an expired endpoint.
What lands in your inbox
Each submission becomes one email to your destination address:
- Reply-To is the visitor's
email, so hitting reply answers them directly. nameandmessageappear in the body.- Any other fields you add (a
subject, a phone number, anything) are listed as additional fields.
With _redirect set, the visitor's browser is sent to your
thank-you page after a successful submit. Without it they get a small JSON
response — fine for JavaScript-driven forms, less friendly for plain HTML.
Tips
- Keep it to three fields. Name, email, and message are enough — every extra field costs you messages.
- Make the button say what happens: "Send message", not "Submit".
- Use the
_redirectfield so visitors land on a real thank-you page instead of a JSON response. - Add
form2email@terragohan.comto your contacts so the verification and submission emails don't land in spam.
Limitations
- A contact form is always-on, so remember the endpoint expires 7 days after verification — extend it for free from your manage page, or ask the operator for a permanent endpoint.
- Submissions are accepted only from the exact domain you registered.
If your site answers on both
yoursite.comandwww.yoursite.com, register the one your form is served from (or create one endpoint per hostname). - No file attachments — file inputs are dropped. Ask for a link instead.
- Spam protection is origin checks plus per-IP rate limits with backoff; there is no CAPTCHA or honeypot yet.
Keep reading
- Waitlist form — the same pattern reduced to a single email field.
- Support request form — when messages need order numbers and categories.
- How it works — the endpoint lifecycle and security model in detail.