HTML Contact Form That Sends Email (No Backend Code)
Plain HTML cannot send email on its own. VASTROX Forms gives you a free hosted endpoint so you can point your form action at a URL and start receiving submissions in your inbox, without writing or hosting any server code.
Why a plain HTML form cannot send email
A raw <form> in an HTML file only collects what the visitor types. When they submit, the browser needs somewhere to send that data. The classic mailto: action just opens the visitor's email client, which most people cancel or never have configured, so you lose the message.
To actually deliver an email you need a backend that receives the POST request and sends mail. Traditionally that means PHP, Node, an SMTP config, and a server to run it on. VASTROX Forms is that backend, already hosted and ready, so your static site or single HTML page can send email without any of that setup.
Point your form action at VASTROX Forms
Create a free form to get your unique endpoint ID, then set your <form> action to that URL and use method POST. Every input needs a name attribute so its value shows up in your email. That is the entire integration.
The form works from a plain .html file, a static site host, or any framework. There is nothing to deploy on your side.
<form action="https://forms.vastrox.com/YOUR-ID" method="POST">
<label>Name
<input type="text" name="name" required>
</label>
<label>Email
<input type="email" name="email" required>
</label>
<label>Message
<textarea name="message" required></textarea>
</label>
<button type="submit">Send</button>
</form>Where the submissions go
When a visitor submits, VASTROX Forms receives the POST, formats every named field into a clean email, and delivers it to the address on your form. You reply straight from your inbox as you would to any message.
Submissions are also stored in your dashboard so nothing is lost if an email is missed. If you already run your site or mailbox on VASTROX hosting, the forms endpoint and your email live under the same account, so delivery and management stay in one place.
Redirect visitors after they submit
By default the visitor sees a simple confirmation page. To send them back to your own thank-you page instead, add a hidden field named _redirect with the destination URL. The browser follows it right after a successful submission.
This keeps the experience on your domain and lets you track conversions on your own page.
<form action="https://forms.vastrox.com/YOUR-ID" method="POST">
<input type="hidden" name="_redirect" value="https://yoursite.com/thank-you">
<input type="email" name="email" required>
<textarea name="message" required></textarea>
<button type="submit">Send</button>
</form>Stop spam without adding a CAPTCHA
Public forms attract bots. VASTROX Forms includes a honeypot field you can add to catch automated submissions silently: bots fill the hidden field, real visitors never see it, and flagged submissions are dropped before they reach your inbox.
Add a hidden input named _honeypot and keep it empty. No CAPTCHA puzzle, no extra script, no interruption for real visitors.
<form action="https://forms.vastrox.com/YOUR-ID" method="POST">
<!-- Hidden from humans, filled by bots -->
<input type="text" name="_honeypot" style="display:none" tabindex="-1" autocomplete="off">
<input type="email" name="email" required>
<textarea name="message" required></textarea>
<button type="submit">Send</button>
</form>Frequently asked questions
Do I need any backend or server code?
No. VASTROX Forms is the hosted backend. You only write plain HTML and point the form action at your endpoint URL. There is nothing to install, deploy, or maintain on your side.
Is it really free?
Yes, the hosted form backend is free to use. Create a form, copy your endpoint, and start receiving email submissions without a credit card.
Will this work on a static site like GitHub Pages or Netlify?
Yes. Because the form just POSTs to an external URL, it works from any static host or a single .html file. No server-side language or build step is required.
Why not just use a mailto: link in the action?
A mailto: action only opens the visitor's local email app, which many people do not have set up and often abandon. That means lost messages. VASTROX Forms receives the submission server-side and delivers a real email to your inbox every time.
How do I stop spam submissions?
Add the hidden honeypot field shown above. Bots fill it and get dropped automatically, while real visitors never see it, so you avoid CAPTCHA puzzles entirely.
Can I send the visitor to my own thank-you page?
Yes. Add a hidden field named _redirect with your page URL and the visitor is sent there right after a successful submission.
Add this to your site in minutes
Free plan, no credit card, no server. Point your form at one URL.
Get your free endpoint