postboi/kit reads FormData, sends it, and returns { success: true } — or fail(400, { error }) on failure. A contact-form action is a single line.
The form
Point a multipart/form-data form at the action. Field names use the fieldset→field syntax to group related fields, and _subject (and friends) set the email’s special fields.
The submitted FormData becomes a tidy HTML table in the email body. See FormData for how the table is built.
Using a configured instance
Got a configured provider instance (or no ambient env vars)? Wrap it with action(). You
can pass status for the failure code and fields for defaults merged into every send.