Email Doesn’t Work After Switching to Cloudflare

Ran into an issue with one of my personal websites where email wouldn’t work. I had recently switched the site to Cloudflare, so I did a search for “Cloudflare Email”. This page on Cloudflare’s website explained the issue.

“Many hosting companies use the domain name for MX records and resolve the mail server internally. When using Cloudflare, the MX record cannot be the domain itself, which passes through Cloudflare.”

In order to fix the issue:

  1. I logged into Cloudflare and clicked on DNS.
  2. Then, I selected MX, entered my domain name, and clicked the field to configure it.
  3. In the popup, I entered my mail server, “”.
  4. After I saved it, I sent a test email, and it worked!