From 55add6ba171ed8c927c6f46844b8b9b127e20906 Mon Sep 17 00:00:00 2001 From: Brad Rodgers Date: Fri, 9 Oct 2026 07:04:01 -0400 Subject: [PATCH] fix(contact): use Formspree's reserved _subject field for the subject line The hidden field was named `subject`, which Formspree treats as ordinary form data: notifications would have arrived under a generic "New submission" subject with "subject" showing up as just another row in the body. The reserved field is `_subject`, with the underscore. build 0/0, contact e2e 4 passed. --- src/pages/contact.astro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/contact.astro b/src/pages/contact.astro index 50f4222..bd92ed6 100644 --- a/src/pages/contact.astro +++ b/src/pages/contact.astro @@ -34,7 +34,9 @@ const endpoint = import.meta.env.PUBLIC_CONTACT_FORM_ENDPOINT ?? ""; Tell us about your project and we will follow up within two business days.

- + {/* `_subject` (underscore) is Formspree's reserved field for the notification subject + line. Without it the mail arrives under a generic "New submission" subject. */} + {/* Formspree treats a filled _gotcha field as spam. Hidden from people, not from bots. */}