Send a confirmation to whoever fills in your form

Someone fills in the form on your site and wants to know it arrived. With the confirmation turned on, they get one short email from noreply@yourdomain.nl: we received your message. The text is fixed and repeats nothing they typed. A reply goes to you, or to the address you choose.

You turn it on in your portal, in the settings of your site, under "Confirmation to whoever fills in your form". It works on a paid site with its own domain that is ready to send mail.

There is one more condition: your form carries Cloudflare's bot check, Turnstile. Without it the form keeps working and every message still reaches you, but the visitor gets no confirmation. That is on purpose. Otherwise a bot could fill in strangers' addresses and make your domain send them mail.

Add the script and the box with our key to your form:

<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>

<form method="post" action="/api/forms">
  <input name="name" required>
  <input name="email" type="email" required>
  <textarea name="message" required></textarea>
  <div class="cf-turnstile" data-sitekey="0x4AAAAAAD3Vz4c6ZEnoJ2GP"></div>
  <button>Send</button>
</form>

The box puts a hidden field cf-turnstile-response in the form. Send the form as it is, or with a script and new FormData(form); the field goes along either way. A token is valid for five minutes and only once, so a visitor who waits longer gets a new check.

The box only works on a domain on our list, and that list has room for a limited number of domains. Turn on the confirmation first: we then get a message to put your domain on it. Add the box to your form once it is there. Open your page to check: the box shows a check mark, not an error. While it shows an error, no confirmation goes out; the form itself keeps working. The box and the confirmation work on your own domain only. On your trial address yoursite.dorelli.cloud the box does not load at all, because a trial site runs in a closed sandbox, so a form sent there gets no confirmation.

LimitNumber
per email address, per site, per day1
per site, per hour20
per site, per day100
per site, per month1,000

Above a limit the message still reaches you; only the confirmation is skipped.

Mention it in your own privacy statement: the bot check comes from Cloudflare, and the visitor gets a confirmation by email. See A privacy statement for your site.

Not for

A confirmation with your own text, a copy of the message, or a link. Not for newsletters or mail to people who did not fill in the form. An App that sends its own mail uses the mail API instead.

Checked against the code on 25 November 2026 · Evidence: app/api/forms/route.ts, lib/klantdomein-mail.ts, lib/klantdomein-bericht.ts, lib/csp.ts, scripts/turnstile-widget.sh

Was this helpful?

/docs/email/form-confirmation.md