Send Email From A Static Site

I was trying to create a simple portfolio site where I could receive emails if someone filled out my contact form without having to use node.js or PHP.

I came across this amazing free alternative: https://formspree.io/

You can add this to your form on any static site. No need to set up a web server!

Just add this to your form action attribute like so:

< form action="https://formspree.io/your@email.com" method="POST">

 

http://codepen.io/sunsplat/full/vxaeXL

Advertisements

One thought on “Send Email From A Static Site

  1. That’s cool! Thanks for sharing.
    I used to want to have one of those forms for my website as well, but had to remove it because of security issues. Setup looks pretty easy; would love to try it out when I redesign my site!

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s