DidMyFormSend

Guides

Contact form not sending? Start here.

Step-by-step guides for a contact form whose mail stopped: how to find what the mail provider answered, what each Resend error means and how to fix it, and a Cloudflare Worker handler that tells the visitor the truth and reports every send.

Every guide

  • Contact form not sending email? Check these six things.

    Usually the form works and the mail provider says no: a revoked API key, a sending domain that is no longer verified, or a sending limit. Many handlers show "Thanks" anyway, because they never read that answer. Log the provider's status code and error name, fix what it names, then check DNS and the spam folder.

  • Resend email not sending? Each error, what it means and the fix.

    Resend answers every send with an HTTP status and an error name. On a contact form the usual ones are 401 validation_error (the API key is invalid), 403 validation_error (the from domain is not verified, or resend.dev is sending to someone other than you) and 429 (a quota or the rate limit). Log the status and the name, then fix it where the table below says.

  • A Cloudflare Worker contact form that sends through Resend

    The Worker reads the form post, sends the mail through Resend's API, waits for Resend's answer and tells the visitor what really happened. Keep the API key in a Worker secret, send from a domain you verified in Resend, and hand the report of each send to ctx.waitUntil so it runs after the visitor has their answer.

Hear about the next refused send from us.

Add the heartbeat to your handler and get an email when the provider says no. €2 a month per form, and the first charge comes after 14 days.