Adding contact form to a static website [closed]

Solution 1:

You could set up a Google Docs form to mimic a contact form and include the form into your website by using the snippet that Google tells you for your form.

By using notification rules you can get automatic notifications, every time someone fills out the form.

Solution 2:

Have a look at Form Spree, you can simply add a <form> with an action posting to their service, and get an email each time someone fills the form.

Very efficient!

(Not suited for contact forms with a lot of submissions. Consider Wufoo or the shiny new FormKeep)

Solution 3:

If you are looking for a simple solution it doesn't get much easier than fwdform. I wrote it myself when I needed quick and dirty contact form processing on my own static site.

To get your form forwarded to your email you just need to do the following.

1.Register

Make an HTTP POST request to register your email.

$ curl --data "email=<your_email>" https://fwdform.herokuapp.com/register
Token: 780a8c9b-dc2d-4258-83af-4deefe446dee

2. Set up your form

<form action="https://fwdform.herokuapp.com/user/<token>" method="post">
    Email: <input type="text" name="name"><br>
    Name: <input type="text" name="email"><br>
    Message: <textarea name="message" cols="40" rows="5"></textarea>
    <input type="submit" value="Send Message">
</form>

You can even run it on your own Heroku instance if you prefer not to trust a third-party service.