Email Sending
Email SendingSubdomains
resource cloudflare_email_sending_subdomain
required
name: String
The domain name within the zone. A wildcard is allowed only as the complete leftmost label (*.example.com) and requires the account wildcard Email Sending entitlement. The derived Return-Path hostname, including its bounce prefix, must be at most 201 characters after ASCII conversion; wildcards use the base hostname.
optional
cloudflare_email_sending_subdomain
resource "cloudflare_email_sending_subdomain" "example_email_sending_subdomain" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
name = "sub.example.com"
}
data cloudflare_email_sending_subdomain
computed
dkim_selector: String
The DKIM selector used for email signing. Wildcard rows publish the selector and sign with d=<base>.
drop_suppressed_recipients: Bool
Whether a send request that includes a recipient suppressed on this subdomain drops that recipient and still delivers to the rest, instead of failing the entire request.
preview_enabled: Bool
Whether sent messages from this subdomain can be previewed in the activity log.
cloudflare_email_sending_subdomain
data "cloudflare_email_sending_subdomain" "example_email_sending_subdomain" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
subdomain_id = "aabbccdd11223344aabbccdd11223344"
}
data cloudflare_email_sending_subdomains
cloudflare_email_sending_subdomains
data "cloudflare_email_sending_subdomains" "example_email_sending_subdomains" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}