Email Troubleshooting

This tutorial covers the steps you should take if, when you change your domain to point to Cloudflare, you no longer receive emails to your domain. If you follow this tutorial and still need further help, please let us know what you have tried and share your domain name and, if possible, a redacted screenshot of your DNS records in Cloudflare.

1. Do you have the correct MX records set for your domain?
You will need to have MX records set in the DNS app in your Cloudflare dashboard for you to receive emails. There is a tutorial on Adding DNS Records if you need help with this. Your MX record should point to the server that manages your mail. Examples of what this should look like are:

Where is your domain name, is the server name required by your mail host. The one pointing to is often used when you are on shared hosting and your email is hosted on the same server as your website. You should also ensure that they point to the correct provider by checking that your records match the ones specified in their documentation.

2. Is the name field of your MX record set to @?
If not, it covers a subdomain for mail, not the mail domain. Make sure the name is set to @ or on the MX record. Where it says in the examples above, make sure this shows your domain name here or the MX record will not work as expected.

3. Do your MX records point to (or similar)?
If so, make sure you have an A record set for mail pointing to the IP address of the server that handles your mail (given by your email provider or web host). (make sure this is set to :grey:).

If you have an MX record like this example

where the mail is handled by a subdomain of your own domain, you will need another DNS record. If you use, it needs to have the name mail, for example. It will need to be an A record pointing to the IP address of your server, shown as in the example below:

4. Do you have an A record (normally mail) pointing to the IP of the server where your mail is hosted?
If you have created an A record, as shown in step 3, make sure this has a :grey: next to it. If it is :orange:, click the cloud to turn it :grey:. This might flag that entry with a :warning: because it exposes the IP address of your server. This is normal and unavoidable if email is hosted on the same server as a proxied website.

When you connect to the server to retrieve mail, you must connect through a host that is set to :grey:, i.e. if your mail program is set up to connect through which has an A record set to :orange: then it will not work. You should probably create another hostname like or that is set to :grey: so it does not affect your website config on Cloudflare. Once you have another entry like set to :grey:, you should modify the hostname that yous program connects over to rather than

In practical terms: I will use Outlook as an example, it is similar to other email programs/apps. When you configure an email account on Outlook, it will ask for a server name. This is often provided by your webhost as something like, in this case, you must have an A record for mail pointing to your server IP, that is set to :grey:. If you try to use a subdomain/domain that is :orange:, your mail will likely not work.

5. Do you have a spam module (or similar) on your server that expects to see your origin IP?
Some web hosts automatically install a spam module on your server, this is especially common for cPanel. For example, ‘Spam Experts Routing’, which expects mail through the domain name. When you have Cloudflare enabled, it can cause issues with this as the IP address seen is not that of your server. The solution here is to update the module with your server hostname (or in some cases, IP) instead of your domain name. You should contact your web host if you are unsure or need assistance with this.

This is a Community Tutorial, most are wiki posts, so can be contributed to by Regulars and MVPs here, you can view all the community tutorials here. If there is a tutorial you would like to see, you can request one here.

Other great resources on this community include the Community Tips . These address best practices when configuring Cloudflare, how to fix issues you may see, and tools to troubleshoot. Also you can view Expert Tips, great posts on the community that can help users with a similar issue.

We encourage users to check out these great resources and the Cloudflare Support Centre before posting

After setting up cloudflare account, email is not working
My Emails Stop Working I Can Not Send Or Receive
MX record correction to domain
I can't send / receive mail
Email forwarding not working
Free CloudFlare - Website and email are located at different vendors?
Cloudflare killed email
Emails in gmail (Fr)
Getting Emails To Work on Cloudflare
I can send the emails but I am not receiving any emails
Emails not landing in gmail
Email address not found error after moving to cloudflare
Private Email DNS Set Up
Message delay
MX Record error
Cannot access emails via Outlook client
I need the proper email DNS settings
Page Rules with Wordpress Multisite Subfolder setup
A2 Hosting and Cloudflare DNS Zones Configuration
After I changed my nameservers to cloudflare nameservers, my site can no longer send a mail using my default hosting mail sender. please how can I resolve this?
CommunityTip - Getting Started with Cloudflare & the Community
Mail accounts are not proxied
MX support
Outlook email and Cloudflare
Email error (Gmail)
Mail is not landing in gmail account
My email stop receiving messanges (HELP ME)
DNS management triangoli
Can't receive emails, only send
Emails send end up in recipients spam box
Email sever not working once CDN active
Name server change impact on email
Cloudflare DNS configuration
YTCC - Getting Started with email & nameservers resources
No emails when adding CNAME
Fix issues
I cannot receive emails
CNAME Record Not Resolving at the moment
Not receiving emails after connecting to CloudFlare
Cloudflare MX Error
Pregunta sobre correo electrónico
I do not receive emails
Emails Not Being Sent
Email stopped working after changing nameservers
Nameserver interference
Problem with server cloudflare
Cannot connect to mail server
Cant send/receive mails on Mail app(s) using Cloudflare
Confused... DNS records.. proxied / DNS?
My A record is apparently set wrong but I can't fix it
Creating Email
HELP- How do I setup Email Forwarding?
Mail form problem
Not able to connect to outlook/Gmail after connecting to cloudflare
Using Cloudflare
I cant receive or send email! :(
Site fails to load after DNS update
Outlook Email
Error 522 mx mail
Can't send/receive any any emails
Gmail cant connect to my mailserver
Unable send or receive email from webmail using gmail
Problems with webmail. Can I exclude email from Cloudflare?
Issue with SMTP email and clients' login
Connections to host ... on the default ports failed on Mac mail application
Mail problems
Cloudfare CDN +
Not Receive Email Via App
I changed DNS to CloudFlare but my website is not running
Cloudflare is taking diffrent mx records
My Gsuite not recieving other type of emails
Facing some Problems when I install the cloudflare
Connecting Cpanel Gmail via SMTP alongside with Cloudflare
Access smtp.mydomain
#Email not working after installing CloudFlare plugin on my website (WP) :DNS Websever domain problem
Trouble Recieving Emails, Error 550, and SMTP Authentication
Error 1016 on main domains, but subdomain working fine
Send mail from local host in codeigniter on cloudflare hosting
My email stopped working
Not receiving email or configure email on any device
Not receiving email or configure email on any device
SSL not working for Webmail
CloudFlare DNS tab settings
Access to my email after transferring to CloudFlare
Outlook + Cloudflare problem
Problem with email client
Emails propagating for 5 days now and still do not work
Error 524 email access trouble
Email not working since setting up cloudflare
Set Up Email
DNS Not Working Entirely After Adding Domain From Bluehost
Domain Email are not working after configuring my website on cloudfare
Mail server issue
Hello i have issue with outlook don't working with all my webmail
Can't send e-mails from my domain mail using Gmail
After setup free cloudflare for ssl and cdn email not receiving
Email client not working
If website is pointed with A record instead of name server
Send/Receive error in Microsoft Outlook 2016
Help me for Checking and Updating Rebglo DNS records
Email Setup in Microsoft Outlook
Website can not sent email
Does cloudflare keep all specialised email records when transferring a site?
Je reçois une erreur 1000
Need email, domain with Bluehost
Guys, I need your help,
Como configurar un correo de godaddy
After setting up cloudflare on my private domain I stopped receiving emails
Switching to cloudflare breaks email delivery
Need to OPEN Port 465 on cloudflare
Analytics & Overview are showing NO Figures
We do not receive email
Unable to install mod_cloudflare
Email issues started two days ago
I can't receive mails or send mails over wordpress
Getting start with Cloudflare
Gmail Failure To Launch
Email Issue Hostgator
Cloudflare Blocking Email Client?
After setting up at cloudfare unable to receive email
Email sending but not receiving
SMTP Problem
Gmail does not work after setup cloudflare
How do I set MX record for my domain?
Mail not accessible
Why is my POP3 / IMAP not connecting after domain name DNS change to point to Cloudflare
Changing Nameservers - Does this affect emails?
Mail server connection error
New - Email no longer working after enabling cloudflare
Outlook App not able to send or receive email
Download emails
Email is not working
Pointing the Microsoftonline DNS to Cloudflare
Emails stopped working after switching to Cloudflare DNS
Can no longer pull emails on my iphone - only webmail works
Hostgator Outlook 2016
Connection Error. Mail from webmail account not being retrieved in Gmail
Connecting cpanel webmail to gmail
E-Mails not deliverable or arrive very late after turning on Cloudflare
DNS Changed, no effect
Add email pro godaddy in domain
Yet another mail delivery issue?!
DNS setting in Cloudflare for working smpt server
Pending Nameserver Update 5555
Webmail Not work after using Cloudflare
Need help to configure our DNS record to make email work under the cloud
Weird e-mail error returns
Ajuda Email não funciona
Problem setting DNs and Shopify
Outlook email stop working when i use cloudflare for SSL
Mail not working anymore here, too
My email is not working
My emails stopped comming - not reachable
Mail issue through Cloudflare
Email Web Client cant access mail server
Cloudflare, cPanel and MX records/e-mail
My emails are going into Spam i need to point my emails to cloudflare account how to do that please help me
Cloudflare broke my emails
NOT Getting My Emails
MX Records - Email not working
Changing nameserver - email setup not resolving
Email not getting thru
I cannot connect to my site, I get "Your connection is not private"
Email not working in another accoint when ssl added
Email not getting
I have problem!
Setting up mail service using Cloudflare
Email not working on wordpress website
Email con subdominio diferente ip no funciona
Email issues with cf
After CDN from Cloudflare Cannot Configure Email on Android Mobile
How do I direct Gmail import to my site on Cloudfare?
Hi first post, trying to work something out
Email routing
Community Tutorials
Email password and ID
Email password and ID
Email issues with InMotion Hosting
Contact form PrestaShop 1.7 CDN
Dns testing
Setting up my hosting account. Help with MX / Mail please
Mail is not sent to webmail i.e
Mail does not work in Outlook or Thunderbird with Cloudfare // El correo no funciona en Outlook o Thunderbird con Cloudfare
Configuration dns email
DNS Propagation issue to MX/Mail Records
How do I access my cloudflare dashboard
Mail Tutorial Feedback
How to Set Up Email
Cloudflare and Email
Gmail Forwarding
Website Not showing MX Records
Mail issue pls help
Email Bouncback After Initiating CDN
Is SNI Enabled for Mail Services?
Cloudflare NS Update
Mail is not received anymore
After adding my website to Cloudflare I didn't receive email any more
Mail sent but not received
I want to link my domain to godaddy email cpanel
Name Servers
MX records not propagating correctly
Free plan for a video game website
Website only
Changing name servers will affect MX records?
After activate SSL My webmail email are not working
Mail server unreachable
Mail not responding
Struggling with DNS setup for email - Help?
Adding and accessing webmail in cloudflare domains
Do not receive emails
Problem with email
After Active Cloudflare SSL NOT received WEBMAIL i.e ([email protected])
Mail does not working after switching to Cloudlfare
Cannot get email working since moving to Cloudflare - what are the correct settings under DNS?
Smtp doesnot work cloudflare
I've added an MX record for Plesk server and mail headed
Do I need to set MX records in Cloudflare to have webhost Hostgator manage emails?
No email received
SMTP Server error while trying to adding email
Outlook and cell phone emails don't work since I've set up Cloudflare
Cloudflare mail
1and1 nameservers and CF
Email DNS Configuration issue
Email Sending Not Working
How can I fix not able to connect my webmail
Problem in mailing after setup CDN in cloudflare
Setup Cloudflare to Exchange online
My site emails are no longer functioning
Cannot make secure connection to my mailserver
I want to cancel account and change my MX records back to bluehost
New to CloudFlare - Mail Servers SSL not passing
Add Only Subdomain to Cloudflare
Site email is not working
Email DNS Gmail account not sending or receiving
Will changing my nameservers to Cloudflare disrupts my email?
Email stop working on iphones
My emails stopped coming
Email receiving issue for incoming mail