Skip to content

The store is open. Launch offer: 20% off everything with code LAUNCH20, first 200 orders only. Shop the kits

Shinn Foundry

The contact form

Connect the Shinn Foundry lead form to your inbox with Resend: server validation, spam protection, and rate limiting included.

Connect Resend

  1. Create a free account at resend.com.
  2. Add and verify your sending domain. Resend gives you the DNS records to add.
  3. Create an API key.
  4. Fill in the three email lines in .env.local, and add the same values in your hosting settings for production.
RESEND_API_KEY=re_your_key
CONTACT_TO_EMAIL=you@yourbusiness.com
CONTACT_FROM_EMAIL=Website <leads@yourbusiness.com>

What protects it

  • Every field is checked on the server, so nothing gets through by turning off JavaScript
  • A hidden honeypot field catches most spam bots
  • Each visitor can send five messages every ten minutes
  • If a field needs fixing, everything the visitor typed stays in place

Without a key

If Resend is not set up yet, the form shows your phone and email instead of failing silently, so no lead is ever lost.