[ BLOG POST ]

Handling bounces and complaints with webhooks

Bounce and complaint events tell you which addresses to stop mailing. Here is how to act on them automatically.

Quick answer

Bounce and complaint events tell you which addresses to stop mailing. Subscribe to these webhook events, verify each signature, and add affected addresses to your suppression list automatically.

Key takeaways

  • A hard bounce means the address cannot receive mail, so stop mailing it.

  • A complaint means a recipient marked your message as spam, so stop mailing them too.

  • Store every event, and make your handler safe to run twice.

What do bounces and complaints mean?

A hard bounce means the address does not exist or cannot receive mail. A complaint means a recipient marked your message as spam. Both are signals that you should stop mailing that address, and both affect your sender reputation if you keep going.

Sendflit emits delivery, bounce, complaint and engagement events, and you can receive them as webhooks. Subscribe to the events you need and record the outcome against the user in your own database.

How should your app act on these events?

When a bounce or complaint arrives, add the address to your suppression list, mark the account, and show the status in your product. Suppressed addresses are refused before the next send, so the same mistake cannot repeat.

Only act on events whose signature checks out. Webhooks are HMAC-signed, so verify each payload against the raw request body before updating any record.

How do you keep an event log?

Store every event with its message id, type and timestamp. When a customer asks why an email did not arrive, the log answers the question without a support investigation.

Handle events idempotently. Webhook deliveries can repeat, so processing the same bounce twice should leave the record in the same state.

Frequently asked questions

Should I keep emailing an address after a hard bounce?

No. A hard bounce means the address cannot receive mail, so remove it from your sending list and add it to your suppression list.

What should I do after a spam complaint?

Stop mailing that address and make sure your unsubscribe flow is easy to use, so future recipients opt out rather than complain.

How do I receive these events?

Subscribe a webhook endpoint to the events you need, verify each signature, and process each event idempotently.

Last updated September 2026 by the Sendflit team.