How to Set Up Cloudflare Email Service with Post SMTP
Labour Day Logo
Flat 26% OFF
USE CODE: LABORDAY26

CLAIM 26% DISCOUNT NOW

Start Using Post SMTP for Free

Email

The form has been submitted successfully!
get-postmansmto

Cloudflare With Post SMTP

Estimated reading: 3 minutes 123 views

Cloudflare Email Service is a transactional email delivery service that you can connect to WordPress through Post SMTP. This integration lets you send WordPress emails through Cloudflare’s Email Sending infrastructure.

Before you start: Make sure Post SMTP is installed and activated on your WordPress website. You also need a Cloudflare account, a domain configured for Email Sending, and access to your Cloudflare dashboard.

Set Up Cloudflare Email Service

If you have not configured Cloudflare Email Service yet, start by onboarding your sending domain. Your sending domain must use Cloudflare DNS before you can use Email Sending.

Onboard Your Sending Domain

  • Log in to your Cloudflare dashboard.
  • Go to Compute → Email Service → Email Sending.
  • Select Onboard Domain.
step-01-open-email-sending-and-onboard-domain
  • Select the domain you want to use for sending emails.
step-02-select-sending-domain
  • Review the DNS records provided by Cloudflare.
step-03-review-dns-records-and-activate
  • Select Done to complete the setup.
step-04-confirm-domain-onboarding

Cloudflare provides the required DNS records, including SPF and DKIM. DNS changes can take some time to propagate.

Your sending domain must be onboarded before you can use it as the sender in Post SMTP.

Create a Cloudflare API Token

Post SMTP uses a Cloudflare API token to authenticate with Cloudflare Email Service.

The token must have the Email Sending: Edit permission. Cloudflare recommends using an account-owned token, but you can also use a user-owned token.

Create Your API Token

  • Go to My Profile → API Tokens.
  • Create a new API token.
step-05-create-api-token
  • Grant the token email-sending permissions using the Edit option.
step-06-set-email-sending-edit-permission
  • Select the appropriate account.
  • Create the token.
  • Copy the API token.
step-07-review-and-create-api-token

Important: Treat your API token like a password. Anyone with access to the token may be able to send emails through the domains available to that token.

Configure Cloudflare Email Service in Post SMTP

Use the Post SMTP Setup Wizard to configure Cloudflare Email Service.

Select Cloudflare Email Service

  • Go to Post SMTP → Dashboard.
  • Select Setup the Wizard.
  • Select Cloudflare Email Service from the available mailers.
  • Select Continue.
step-08-select-cloudflare-mailer

Enter Your Cloudflare Configuration

Enter the following details:

From Email

Enter the email address you want to use as the From Email address.

Example:

hello@yourdomain.com

The sender address must use a domain that you have onboarded for Email Sending in Cloudflare.

From Name

Enter the name you want recipients to see as the sender.

Example:

Your Company

API Token

Paste the Cloudflare API token you created earlier.

Post SMTP uses this token to authenticate with Cloudflare Email Service.

Account ID

Enter your Cloudflare Account ID.

Post SMTP uses the Account ID to connect to your Cloudflare account.

step-09-enter-cloudflare-mailer-settings

Enable Prevent plugins and themes from changing this if you want Post SMTP to always use the configured From Email and From Name.

Send a Test Email

After entering your Cloudflare Email Service credentials and configuration details:

  • Select Save & Continue.
  • Enter an email address you can access.
  • Select Send Test Email.
step-10-send-test-email

Verify Your Configuration

After sending the test email:

  • Check the recipient’s inbox and spam folder.
  • Go to Post SMTP → Email Log.
  • Find the test email.
  • Confirm that its status is Success.
step-11-verify-email-log-success

You’re All Set

Cloudflare Email Service is now configured as your Post SMTP mailer, and your WordPress emails can be sent through Cloudflare.

If you need help configuring Cloudflare Email Service or troubleshooting email delivery, contact our Support team and include a Diagnostic Report. This helps our team review your Post SMTP configuration.

Share this Doc

Cloudflare With Post SMTP

Or copy link

CONTENTS
Scroll to Top

Subscribe

×
Cancel