Skip to content
nextjsproductionemail06 Jan 2026 · 1 min read

Blog post

Making the contact form production-ready

Wiring a simple Next.js contact form to Resend, adding a honeypot, and avoiding PII in logs.

This site’s contact form started life as a placeholder. That’s fine for a prototype — but not for production.

Here’s what “production-ready” means for a contact form:

1) Messages actually arrive

We send submissions via Resend so there’s a real inbox on the other side.

2) Basic spam friction (without punishing humans)

We use a honeypot field. Real people never see it, bots often fill it, and we quietly drop those submissions.

3) Don’t log sensitive data

Logging raw contact payloads is a bad habit. Production logs are not a safe mailbox.

If you’re building your own: start small, ship it, then harden it.

Comments

Leave a note

Comments are manually approved (keeps the spam monsters away).

Loading comments…

New comments show up after approval.