Contact forms
Any HTML form on your site can send messages to you. No code or extra service needed.
Add a form
Point the form at /_form/ followed by a name you choose:
<form action="/_form/contact" method="post">
<input name="name" placeholder="Your name" required>
<input name="email" type="email" placeholder="Your email" required>
<textarea name="message" required></textarea>
<button>Send</button>
</form>
Each message is emailed to you and kept under your site's Forms tab, where you can also download
them as a spreadsheet (CSV). Replying to the email replies to the visitor, thanks to the email field.
Optional extras
<input type="hidden" name="_subject" value="New message from my site">: the subject of the email you get.<input type="hidden" name="_redirect" value="/thanks.html">: a page on your site to show after sending.<input name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">: catches spam bots. Keep it hidden; people never fill it in.
Good to know
- Confirm your email address first; forms stay off until you do.
- Forms can't be used to collect passwords or payment card numbers.
- Your plan includes a number of messages a month (see your Account page). File attachments aren't supported.