Bouncewise › Email delivery guides
BouncewiseTransactional email guides
Bounce codes, provider errors, DNS and deliverability: what each one means and how to fix it, with the exact messages you see in Postmark, Mailgun, SendGrid and Resend.
Bounces, codes and deliverability
- Hard bounce vs soft bounce: what each means, what to doA hard bounce is a permanent failure (5xx, e.g. 550 5.1.1): stop sending to it. A soft bounce is temporary (4xx, e.g. full mailbox): retry, then stop.
- SMTP bounce codes: full list and what to do for eachEvery SMTP reply code (421 to 555) and enhanced status code (X.1.1 to X.7.7) from RFC 5321 and RFC 3463, with what each means and what to do next.
- 550 5.1.1 user unknown: the address does not exist550 5.1.1 means the recipient's server says the mailbox does not exist. It is a hard bounce: suppress the address and get a corrected one. Don't resend.
- What is a good email bounce rate? Limits and targetsFor transactional email, keep your bounce rate well under 5%; Postmark requires under 10%. Most bounces should be rare hard bounces, so watch for spikes.
- Gmail and Yahoo spam rate limit: the 0.3% rule explainedGmail and Yahoo require a spam complaint rate below 0.3%; Gmail says aim under 0.1%. How it is measured, who it applies to, what it means for receipts.
- SPF, DKIM and DMARC for transactional email: setupSign with DKIM on your domain, align SPF via a custom Return-Path, start DMARC at p=none. The records for Postmark, Mailgun, SendGrid and Resend.
- Custom Return-Path domain: why and how to set it upA custom Return-Path puts bounces on your own subdomain so SPF aligns for DMARC. On Postmark: CNAME pm-bounces.example.com to pm.mtasv.net, then verify.
- Transactional vs marketing email: send them separatelyTransactional email is triggered by a user action; marketing goes out on your schedule. Split them by stream, IP and subdomain to protect receipts.
- Transactional emails going to spam: a checklist that worksCheck in order: SPF, DKIM and DMARC pass and align; links and content; reputation; complaint rate; list hygiene. Start with the message headers.
- How to monitor email delivery from your phoneWatch bounce rate, spam complaints, failed inbound and DNS status from your phone, with spike alerts and widgets for Postmark, Mailgun, SendGrid, Resend.
Postmark
- Postmark error 406 inactive recipient: cause and fixPostmark ErrorCode 406 means the address is suppressed after a hard bounce, spam complaint or manual suppression. Find which, and when to reactivate it.
- Reactivate a bounced address in Postmark (UI and API)Reactivate in the stream's Suppressions tab, with PUT /bounces/{id}/activate or the suppressions delete endpoint. Spam complaints need Postmark support.
- Postmark inbound failed: why, and how to retry messagesFailed means your inbound webhook didn't return 200 after 10 retries over about 10.5 hours. Fix the endpoint, then PUT /messages/inbound/{id}/retry.
- Postmark DKIM pending or Return-Path not verified: fixPostmark verifies a DKIM TXT record at the host it gives you and a pm-bounces CNAME to pm.mtasv.net. Fix appended names, Cloudflare proxying and typos.
- Postmark API error codes: every code and what to doPostmark returns an ErrorCode with a Message, mostly with HTTP 422. Table of codes from 10 to 1502 with meanings, HTTP status and whether to retry.
- Postmark Server API token vs Account API tokenThe Server token (X-Postmark-Server-Token) sends mail and reads one server. The Account token (X-Postmark-Account-Token) manages servers and domains.
- Postmark message streams: transactional, broadcast, inboundEach Postmark server has an outbound transactional stream and an inbound stream; you add broadcast streams. Pick one per email with MessageStream.
- Postmark spam complaints: what they mean, what to doA Postmark spam complaint (SpamComplaint, 100001) deactivates the address at once, and only Postmark support can reactivate it. How to cut the rate.
Mailgun
- Mailgun sandbox domain: authorized recipients and limitsA Mailgun sandbox domain only sends to up to 5 authorized recipients who clicked the activation link. How to add them, and how to send to anyone else.
- Mailgun suppressions: bounces, complaints, unsubscribesMailgun drops mail to addresses on a domain's bounces, complaints or unsubscribes list. How to find why an address is there and remove it safely.
- Mailgun domain not verified: DNS records to checkMailgun verifies a domain from SPF and DKIM TXT records; MX and the tracking CNAME serve receiving and tracking. Values, DNS mistakes and re-checking.
- Mailgun EU region API: US vs EU endpoints and errorsMailgun EU domains use api.eu.mailgun.net, US domains api.mailgun.net. The key works in both, so the wrong host says the domain doesn't exist.
- Mailgun failed events: permanent vs temporary failuresA Mailgun failed event has severity permanent (dropped, not retried) or temporary (retried for up to 8 hours). How to read reason and delivery-status.
SendGrid
- SendGrid 403: from address not a verified Sender IdentitySendGrid returns 403 when the From address isn't a verified single sender or on an authenticated domain. The fix, and the other 403: access forbidden.
- SendGrid bounces vs blocks vs invalid emailsIn SendGrid a bounce is a problem with the address and stays suppressed; a block is about your IP or content and isn't. How all six lists differ.
- SendGrid domain authentication: CNAMEs and fixing VerifySendGrid domain authentication adds three CNAMEs (em…, s1._domainkey, s2._domainkey) plus DMARC. What each record does and why Verify fails.
- SendGrid API key permissions: Full, Custom and BillingSendGrid API keys are Full Access, Custom Access (chosen scopes) or Billing Access. The scopes sending and read-only monitoring need, and how to check.
- SendGrid Email Activity history: 30 days and missing mailSendGrid Email Logs keeps 30 days of events for every customer. The older Email Activity Feed needs a paid add-on for 30 days. Why a message may not show.
Resend
- Resend domain not verified: records, pending and failedResend verifies a domain from the resend._domainkey DKIM record and SPF records on send. What pending and failed mean, and the usual DNS fixes.
- Resend email statuses: delivered, bounced, delayedWhat each Resend last_event means: sent, delivered, delivery_delayed, bounced, complained, failed, suppressed and more, with the matching webhook events.
- Resend suppressed email: why, and how to remove itResend marks an email suppressed when the recipient is on your team's suppression list after a hard bounce or complaint. How to check why, and remove them.
- Resend API key permissions: full vs sending accessResend API keys are full_access or sending_access. Sending keys only send and get 401 restricted_api_key on reads, so reading data needs full access.