DocumentationBounces and complaints
Bounces and complaints
Hard bounce suppression, SES webhooks, and email.bounced events.
MailingCore classifies delivery failures from AWS SES and updates your suppression list automatically.
Bounce types
| Type | SMTP | Action |
|---|---|---|
| Hard bounce | 5xx permanent | Email suppressed automatically — no future sends |
| Soft bounce | 4xx temporary | Logged; may retry on next send |
| Complaint | FBL/ARF | Email suppressed + notification |
| Spam report | ISP report | Email suppressed |
SES inbound flow
AWS SES → SNS notification → MailingCore SES webhook handler
→ update EmailLog status
→ hard bounce / complaint → Suppression table
→ emit webhook email.bounced / email.complained
Configure SES feedback notifications to MailingCore's SNS endpoint (managed in platform setup).
Outgoing webhooks
Register an endpoint to receive real-time events:
| Event | When |
|---|---|
email.bounced | Hard or soft bounce (check payload bounceType) |
email.complained | Recipient marked as spam |
email.delivered | Successful delivery confirmation |
See Event catalog and Verify signature.
Example email.bounced handling
// Your webhook handler
if (event.type === 'email.bounced' && event.data.bounceType === 'HARD') {
await markContactInvalid(event.data.toEmail)
}
Dashboard and API
- View bounced sends in Emails → Logs (
status: BOUNCED) - Query via Email logs
- Manage suppressions:
GET/POST/DELETE /suppressions