fwdform icon indicating copy to clipboard operation
fwdform copied to clipboard

Quickstart contact form processing for static sites

Quickstart contact form processing

This will be useful if...

  • You want to forward a simple contact form to your email
  • You have a static site and don't want to run a server

Usage

Grab a Mailgun account and make a note of your API key.

Deploy

Then create your form like so:

<form action="https://{YOUR_APP_NAME}.herokuapp.com" action="POST">
  Name: <input type="text" name="name"><br>
  Email: <input type="text" name="email"><br>
  Message: <textarea name="message" cols="40" rows="5"></textarea>
  <input type="submit" value="Send Message">
</form>