Subscribe to Email Sending events with Queues
Email Sending events can now be published to Queues through event subscriptions, allowing you to track transactional email lifecycle events (delivered, deferred, bounced, failed, rejected, complained) and drive deliverability, suppression, and retry logic based on SMTP responses.
You can now subscribe to Email Sending events through Queues event subscriptions and receive outbound transactional email lifecycle events on a queue. Each subscription is scoped to one sending domain — either the zone apex, such as example.com, or a verified sending subdomain, such as send.example.com.
Six event types are published: message.delivered, message.deferred, message.bounced, message.failed, message.rejected, and message.complained. Use them to track deliverability, react to bounces and complaints, and drive suppression or retry logic. Email Routing events are not published on this source.
Each event includes the message details, delivery status, and SMTP response:
{
"type": "cf.email.sending.message.delivered",
"source": {
"type": "email.sending",
"zoneId": "023e105f4ecef8ad9ca31a8372d0c353",
"domain": "example.com"
},
"payload": {
"messageId": "0101018f7d0c4d9a-msg-deadbeef",
"recipient": "user@example.net",
"terminal": true,
"delivery": {
"status": "delivered",
"smtpStatusCode": "250"
}
}
}
Refer to Event subscriptions to see all event types and example payloads.
Source: original entry ↗
More from Cloudflare
Follow Cloudflare to get its new changes in your feed and email digest.
Cloudflare One Client for Windows hotfix - trusted certificate chains
A new GA release for Windows Cloudflare One Client is available, addressing an issue with building trusted certificate chains.
Cloudflare One Client for macOS - Trusted Certificate Chain Fix
A new GA release of the macOS Cloudflare One Client is available. This hotfix addresses an issue with building trusted certificate chains.
Cloudflare One Client for Linux
A new GA release of Cloudflare One Client for Linux is now available. This hotfix addresses an issue with building trusted certificate chains.