DEV Community

Cover image for How to Send HTML Form Data to Your Email Without Backend Code
Jacob Dement
Jacob Dement

Posted on

2 1

How to Send HTML Form Data to Your Email Without Backend Code

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>
Enter fullscreen mode Exit fullscreen mode

Add the email you would like to receive your form submissions at here on the FormBee dashboard.

Image description

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.

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more