Skip to content

Cloudflare Email Routing

  1. In the CF console for the corresponding domain under Email Routing, configure the Email DNS records. If there are multiple domains, you need to configure Email DNS records for each domain.

  2. Before binding an email address to your Worker, you need to enable email routing and have at least one verified email address (destination address).

  3. Configure the Catch-all address in the routing rules of each domain's Email Routing to send to worker.

email

Subdomains must be configured separately

If you want to receive mail on a subdomain (e.g. mail.example.com), you must enable Email Routing on that subdomain in the CF dashboard and configure its email DNS records and Catch-all rule separately. Enabling Email Routing only on the apex domain does not cover subdomains.

Based on MIT license