Skip to content

Email sending

Advanced patterns and examples for sending emails with Cloudflare Email Service. Most examples use the Workers binding; the same EmailMessageBuilder fields (to, from, subject, html, text, cc, bcc, replyTo, attachments, headers) apply to the REST API as JSON in your HTTP request body. The Send email over SMTP example covers sending over SMTP from several languages and clients.