Add a contact form to your site and receive messages by email with Formspree
You will create a form in Formspree and copy its endpoint into your site page, so visitors' messages reach your email without programming a server.
The problem
Your site or landing page is a static page, and there is no place where a visitor can write a message. You put your email as plain text and get a lot of spam, or nobody writes because opening a mail app is a heavy step. A form usually needs a server that receives the data and sends it to your email, which means programming and maintenance. A ready-made service that receives the form for you saves that.
The tool
Formspree is a service that receives HTML form data and sends it to your email. According to its official plans page, the free plan allows 50 submissions per month, unlimited forms, two linked emails, and a 30-day submission archive, with no file uploads. And according to its docs: any form element with a name attribute is sent to the service, and submissions are stored in your account and can be emailed to you. The steps below come from the official help center, and button names are written as they appear in the English interface.
The steps
- Create a Formspree account and verify your email with the link you receive. Use the email you want visitors' messages to arrive on.
- In the dashboard click the plus sign at the top left, then click New Form.
- Open the Integration section, and you will find your form's endpoint under "Your form's endpoint is:". It is a unique link for your form.
- Copy the ready-made snippet from the Integration section. According to the docs, the default snippet contains Email and Message fields and a Submit button, and instead you can pick an example from the Form Library. This snippet is already configured with your endpoint, so it is the safest start.
- Understand the structure: the form tag must have an action attribute pointing to your unique endpoint, and every field must have a name attribute. An illustrative example from the docs: a form tag with action set to https://formspree.io/f/your_form_id and method POST, containing an email field named email, a message field named message, and a submit button. Replace the ID with the ID from your dashboard.
- Paste the snippet into your site page where you want the form to appear. If you use a ready-made platform, look in it for a "custom HTML code" box or similar, because some platforms do not allow forms from third parties.
- Set the receiving email: according to the docs, submissions are sent to the Target Email set in the form's settings. Review the settings and confirm the email.
- Send a test message from your published page, and check that it appears in the Formspree dashboard and reaches your email.
- To limit spam: according to the docs every form includes reCAPTCHA, which is usually enough. You can also add a hidden honeypot field named _gotcha; if it has a value, Formspree treats the submission as automated and silently discards it. Hide the field from visitors; the docs prefer hiding it with a CSS class instead of an inline style.
- If messages don't reach your email, start with your spam folder and mark Formspree messages as not spam. If you don't find them, the docs say your mail server may have returned an invalid response to a Formspree email and the provider blocked delivery, and they point to the unblock page at formspree.io/unblock/ followed by your email address.
The real cost
The free plan is $0 with a limit of 50 submissions per month, according to the official plans page at the time this guide was written. The paid plans start from Personal (200 submissions per month and 1 GB of file uploads), then Professional (2,000 submissions), then Business (20,000 submissions). The prices on the page are inconsistent: it shows $10, $20 and $60 per month when billed yearly, and $15, $30 and $90 when billed monthly, so check the page before paying. The page names no currency other than the dollar.
The free alternative
If your site is on a store platform or a site builder, it may provide a built-in contact form with no outside service. We did not open the docs of specific platforms here, so check your platform. On Zid or Salla, contact usually goes through the store dashboard itself.
Notes
- We have not tried these steps ourselves yet; they are based on the current official docs. Button names may change, so if your interface differs, follow the docs.
- The free plan's limit is 50 submissions per month. An active site or an automated-message attack can use it up quickly.
- The sender is not told about automated messages that the honeypot field drops, and you may lose a real message if someone fills the field by mistake, so don't make it visible.
- Add text near the form explaining how you will use the data of those who write to you.
Sources
Did you like this guide?
The weekly newsletter is being prepared. Leave your email and we'll send it when it launches.
We use your email only to send the newsletter. Privacy policy
