Sending HTML form data to your email is very simple.
First create an account on FormBee, this is an open source form backend service, that will handle the form data transmission for us.
Make a form with an action attribute to https://api.formbee.dev/formbee/[api-key]
with your API key from the FormBee dashboard.
<form action="https://api.formbee.dev/formbee/[api-key]" method="POST">
<input type="text" name="name" placeholder="Name">
<input type="email" name="email" placeholder="Email">
<input type="submit" value="Submit">
</form>
Add the email you would like to receive your form submissions at here on the FormBee dashboard.
Now whenever your HTML form is submitted you will receive the submission in your email!
For info on how to integrate FormBee in various frameworks visit the FormBee Docs.
Top comments (0)