Make sure your mail records are grey-clouded on Cloudflare!
If your email is not working, you are missing mail and MX records in your zone file or your mail records are not properly configured. To edit your DNS zone file on Cloudflare:
- Log into your Cloudflare Account.
- Click the domain you wish to add an MX record for.
- Open the DNS app at the top of the page.
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.
A typical configuration to get around this is: MX record is a subdomain with a grey cloud.
mail CNAME domain.com (grey cloud)
If your email doesn't work shortly after adding or editing any required MX records, it is likely that the issue is with your mail server and you should contact your mail provider for further assistance. You should also confirm with your mail provider what the mail and MX values should be.
Learn more about Cloudflare's DNS services.