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.

Tutorial Reference: CT-19
Reviewed: 07/21

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

If you would like to provide any feedback on this tutorial, please post in the #Meta category, tag your post #TutorialFeedback and let us know the Tutorial Reference above.

Other great resources on this community include the Community Tips . These address best practiceswhen configuring Cloudflare, how to fix issues you may see, and tools to troubleshoot. Also you can view Expert Tips, great posts on the community from people in the know that may help you with your 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
Community Tutorials
Getting Emails To Work on Cloudflare
Cloudflare killed email
Weird e-mail error returns
Emails in gmail (Fr)
Free CloudFlare - Website and email are located at different vendors?
My emails stopped comming - not reachable
My email is not working
Email password and ID
Email password and ID
CNAME to Outlook Webmail not working anymore
Add an A, AAAA, or CNAME record for **
Multiple email server
DNS tables and propagation time
We do not receive email
How to hide the IP of a site
Switched to Cloudflare, now root domain name and subdomain do not work
PLEASE HELP Not Receiving Emails
Mail not working anymore here, too
Outlook email stop working when i use cloudflare for SSL
Sendinblue dedicated IP go to not configured after cloudflare
Website block
Problem with email
Do not receive emails
Email routing
Hi first post, trying to work something out
How do I direct Gmail import to my site on Cloudfare?
After CDN from Cloudflare Cannot Configure Email on Android Mobile
Email issues with cf
WP mail SMTP
PTR isuess with WHM/Cpanel
MX settings for email
Problem setting DNs and Shopify
Disable DNS on Mailserver
Adding and accessing webmail in cloudflare domains
Hijacking Traffic with DNS
Getting start with Cloudflare
I can't receive mails or send mails over wordpress
Ajuda Email não funciona
DKIM TXT record not verifying, therefore outgoing emails are being received in spam folder
I stop receiving Email
Struggling with DNS setup for email - Help?
Need help to configure our DNS record to make email work under the cloud
Webmail Not work after using Cloudflare
Email con subdominio diferente ip no funciona
Mail not responding
Mail server unreachable
Email not working on wordpress website
Setting up mail service using Cloudflare
Pending Nameserver Update 5555
I have problem!
Email not getting
DNS setting in Cloudflare for working smpt server
After activate SSL My webmail email are not working
Yet another mail delivery issue?!
Changing name servers will affect MX records?
Website only
Free plan for a video game website
Email not working in another accoint when ssl added
MX records not propagating correctly
Add email pro godaddy in domain
I cannot connect to my site, I get "Your connection is not private"
Email not getting thru
Name Servers not resolving
Changing nameserver - email setup
Mail not working anymore (SEND AND RECEIVE)
Dns nameserver
Is it take time to applying changed record settings?
MX Records - Email not working
NOT Getting My Emails
Cloudflare broke my emails
Email are send but do not recieve emails
I want to link my domain to godaddy email cpanel
My emails are going into Spam i need to point my emails to cloudflare account how to do that please help me
Mail sent but not received
Need Help With Current DNS records configuration does not work mail
After adding my website to Cloudflare I didn't receive email any more
Mail is not received anymore
Connecting cpanel webmail to gmail
Cloudflare NS Update
Cant get my Cyberpanel to send SMTP trafic thru Cloudflare
Is SNI Enabled for Mail Services?
DNS Changed, no effect
Cloudflare, cPanel and MX records/e-mail
Mail server exposed
Email Bouncback After Initiating CDN
DNS Records for Linevast Mail
Multiple IP entries
Mail issue pls help
E-Mails not deliverable or arrive very late after turning on Cloudflare
Website Not showing MX Records
Gmail Forwarding
I don't receive Email
Cloudflare and Email
How to Set Up Email
Mail Tutorial Feedback cloudflare
Connection Error. Mail from webmail account not being retrieved in Gmail
SMTP Problem
DNS Propagation issue to MX/Mail Records
Configuration dns email
Changing Nameservers - Does this affect emails?
Mail does not work in Outlook or Thunderbird with Cloudfare // El correo no funciona en Outlook o Thunderbird con Cloudfare
Mail is not sent to webmail i.e
Setting up my hosting account. Help with MX / Mail please
Why is my POP3 / IMAP not connecting after domain name DNS change to point to Cloudflare
Dns testing
Contact form PrestaShop 1.7 CDN
Mail not accessible
Hostgator Outlook 2016
Can no longer pull emails on my iphone - only webmail works
Emails stopped working after switching to Cloudflare DNS
Thunderbird no longer finding email account
Pointing the Microsoftonline DNS to Cloudflare
Email is not working
Gmail does not work after setup cloudflare
Download emails
Outlook App not able to send or receive email
Email sending but not receiving
New - Email no longer working after enabling cloudflare
Mail server connection error
How do I set MX record for my domain?
Mx email for a domain and separately a subdomain
Invalid SSL certificate - chain breaks somewhere
DNS points to prohibited IP 1000 error
Form Submission on Website Blocked By Cloudflare?
Cloudflare Blocking Email Client?
Getting 520 Error when I edit a large post. Service provider said ask cloudflare team
Gmail Failure To Launch
Email issues started two days ago
Unable to install mod_cloudflare
I can't receive emails
Analytics & Overview are showing NO Figures
Need to OPEN Port 465 on cloudflare
After setting up cloudflare on my private domain I stopped receiving emails
Como configurar un correo de godaddy
Guys, I need your help,
Unable to See Dashboard to Verify Domain
Need email, domain with Bluehost
Je reçois une erreur 1000
Does cloudflare keep all specialised email records when transferring a site?
Website can not sent email
Email Setup in Microsoft Outlook
Help me for Checking and Updating Rebglo DNS records
Send/Receive error in Microsoft Outlook 2016
If website is pointed with A record instead of name server
Emails not working after changing name servers to Cloudflare's
Disable DNS records
Email client not working
My website can't receive Email
After setup free cloudflare for ssl and cdn email not receiving
Can't send e-mails from my domain mail using Gmail
MX DNS for E-Mail gets kicked out after a short time
Hello i have issue with outlook don't working with all my webmail
Mail server issue
Domain Email are not working after configuring my website on cloudfare
DNS Not Working Entirely After Adding Domain From Bluehost
SMTP client script for c# (ASP.NET core mvc)
It looks like your domain is not provisioned with Cloudflare
Set Up Email
Email not working since setting up cloudflare
Error 524 email access trouble
Emails propagating for 5 days now and still do not work
iPhone not able to connet to my mail server to send email
Site Down, DNS Not propogating. Help!
Problem with email client
Confirm spf added correctly
Email not working help
Outlook + Cloudflare problem
Access to my email after transferring to CloudFlare
CloudFlare DNS tab settings
Email configuration
SSL not working for Webmail
Not receiving email or configure email on any device
Not receiving email or configure email on any device
My email stopped working
Send mail from local host in codeigniter on cloudflare hosting
Email Stopped Working 4432
Erro no recebimento de e-mail após configuração do o cloudflare
Error 1016 on main domains, but subdomain working fine
Trouble Recieving Emails, Error 550, and SMTP Authentication
Getting 550 email error on domain after moving to Cloudflare
#Email not working after installing CloudFlare plugin on my website (WP) :DNS Websever domain problem
Access smtp.mydomain
Connecting Cpanel Gmail via SMTP alongside with Cloudflare
Facing some Problems when I install the cloudflare
DNS has changed / emails not working
My Gsuite not recieving other type of emails
MX Record redirection
Mail stopped sending/receiving after connecting to CloudFlare
Cloudflare is taking diffrent mx records
Can't reach email server after enabling CloudFlare
I changed DNS to CloudFlare but my website is not running
Not Receive Email Via App
Email / PHP contact form
Cloudfare CDN +
Mail problems
SSL Certificate for origin server signed by Cloudflare is not valid for end user
Connections to host ... on the default ports failed on Mac mail application
Issue with SMTP email and clients' login
How do I access the correct email settings for SMTP?
MX record added but emails sent are not received
SMTP Mail issue
Problems with webmail. Can I exclude email from Cloudflare?
Advised to change MX Settings in cPanel to "Remote"
Unable send or receive email from webmail using gmail
Domain registered through Namecheap, hosted through SiteGround, using domain on Kajabi, trying to set up email- Help please
Cloudflare & Plesk email issues
Plz fix my mx records
Gmail cant connect to my mailserver
Can't send/receive any any emails
Why I can't connect domain when I use Aweber Landing page
Error 522 mx mail
Outlook Email
Unable to use CloudFlare
Site fails to load after DNS update
Our emails are not working
I cant receive or send email! :(
Using Cloudflare
Not able to connect to outlook/Gmail after connecting to cloudflare
Subdomain DNS Records Issue - Please Kindly Help
This XML file does not appear to have any style information associated with it. The document tree is shown below
Mail form problem
Email isn't working
Http 500 error on mail.php
Creating Email
Emails not sending in Outlook
Outlook mails are not working
My A record is apparently set wrong but I can't fix it
Confused... DNS records.. proxied / DNS?
Cant send/receive mails on Mail app(s) using Cloudflare
How to Resolve these Steps in DNS Management?
Mail Service not working after switching to cloudflare?
Cannot connect to mail server
Problem with server cloudflare
Nameserver interference
Email stopped working after changing nameservers
Emails Not Being Sent
Gmail not picking up server emails after change to Cloudfare but webmail working
Incorrect email settings?
I do not receive emails
Pregunta sobre correo electrónico
Cloudflare MX Error
Email issue - Emails going to spam folders
Not receiving emails after connecting to CloudFlare
CNAME Record Not Resolving at the moment
Can’t get autodiscover help
Configure requirted dns info for Hubspot email
CloudFlare proxied websites don't work on Virgin Media but do on EE and some U.S providers
I cannot receive emails
Trouble getting MX record set up in DNS
Fix issues
No emails when adding CNAME
YTCC - Getting Started with email & nameservers resources
This record exposes the ip behind
Cloudflare DNS configuration
Name server change impact on email
MX Record for my website
Kein Email Versand / Empfang
Email sever not working once CDN active
Emails send end up in recipients spam box
Emails going to spam
SMTP mail doesn't works after add the site to Cloudflare
Can't receive emails, only send
DNS management triangoli
My email stop receiving messanges (HELP ME)
Mail is not landing in gmail account
Email not working on Dmaon
Email error (Gmail)
Outlook email and Cloudflare
MX support
Mail accounts are not proxied
CommunityTip - Getting Started with Cloudflare & the Community
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?
Can I change the Cloudflare DNS servers for my account?
No emails are received sent by my bookingsprogramm to Hotmail, outlook etc. Gmail is fine
A2 Hosting and Cloudflare DNS Zones Configuration
Page Rules with Wordpress Multisite Subfolder setup
I need the proper email DNS settings
Cannot access emails via Outlook client
Want to use cloudflare with out changing nameserver for server hosted in AWS
Setting Up Email With Namecheap
MX Record error
After connecting to CloudFlare not receiving emails
Message delay
Should MX be configured with cloud/proxy off?
Private Email DNS Set Up
Email address not found error after moving to cloudflare
Asking bro
"Mail Deilvery errors - invalid MX record on terin: "
The email reaches the users in no time
Website note running on phone, works on my laptop
Emails not landing in gmail
Email receiving issue for incoming mail
Having problems confirguring and DNS propagating
Can't resolve error 1000
My emails stopped coming
Email stop working on iphones
Will changing my nameservers to Cloudflare disrupts my email?
Email DNS Gmail account not sending or receiving
Site email is not working
Outlook and other mail apps do not work after switching to Cloudflare
CNAME not working -recipient error
Add Only Subdomain to Cloudflare
Email deliverability check shows errors
Email undelivery , change ptr
New to CloudFlare - Mail Servers SSL not passing
I want to cancel account and change my MX records back to bluehost
Cloudflare ssl and subdomans
Cannot make secure connection to my mailserver
Dns not redirecting correctly
My site emails are no longer functioning
Email issues with Cloudflare
Unable to add records
MxTools issues - emails going to spam
Not receiving emails?
Setup Cloudflare to Exchange online
Problem in mailing after setup CDN in cloudflare
How can I fix not able to connect my webmail
DNS matter
I moved my domain and the email stopped working
MX records pointing to old email hosting after 5 days
Email Sending Not Working
Email DNS Configuration issue
1and1 nameservers and CF
Cloudflare mail
Your DNS only records are exposing IPs that are proxied through Cloudflare
Outlook and cell phone emails don't work since I've set up Cloudflare
SMTP Server error while trying to adding email
Not receiving mail when using cloudflare
Outlook Setting
Unable to send and receive emails
Email down after switching Name Servers to Cloudflare
Cant get access to cpanel
No email received
Email not working since switching to Cloudflare
Changing DNS records and A record
Do I need to set MX records in Cloudflare to have webhost Hostgator manage emails?
I've added an MX record for Plesk server and mail headed
How do I access my cloudflare dashboard
Can't get Origin Server certificate to work with webmail or imap/pop3/smtp
After changing name servers to cloudflare mail server is not working
Mail Server Domain
VPS + Cloudflare + Cpanel email
Signed up, now email down and can not add users
Email Send/Receive Issues
DNS challenges with mobile email (works in desktop, not mobile)
Email not sent
Configurações DNS são necessárias
HELP-- DNS is a mess and need assistance
Problem with forms
Hosting on one server, mail and domain on another, cloudflare settings?
Couldn't reach server. Please double-check the server and port number
Mail App Stopped Working After Joining Cloudflare
Cant get access to cpanel
Activate Email Function on WordPress
A mail related record does not work
How to set up DNS for a custom mail
Unable to resolve CNAME record even though it exists
Notification Emails Stopped Working
Mx records problemas
Need to change iP back to bluehost
Email with Bluehost
I can't open my email account through my outlook account
SRV - TLS Record Warning
Email not working on Centos CWP
Unable to get my domain verified by Microsoft
REVERSE DNS (PTR) Problems Exist
E-mail not working in Gmail
MX Record - error
How do i get cloudflare support?
Email not sending or receiving some emails using outlook
Updated Nameservers Glue vs. A record Conflict
Problem setting up email on Outlook after moving to Cloudflare
Emails from Company Domain are going into SPAM
MX still not correct
Cloudflare will affect receiving my email?
Email DNS propagation issue
SOLVED: TLS Negotiation failed, the certificate doesn't match the host (GMAIL)
Gmail no longer able to log into email after moving to CF
Can't access Email routing feature
DNS - lost all emails
DNS Query Failed
Email not working after transferring domain to Cloudflair
Site on one server / email from another server; changing MX records here doesn't change the outcome
Mail server unable to ping alter configure Cloudflare
Emails from website contact not delivered after migration to Cloudways from Siteground
Email is not Propagating
Zoho email not working since joining cloudflare
Cannot receive mails
No puedo configurar outlook por conflicto entre cloudflare y mi hosting
Please help smtp support?
Not receving the emails
Issue with email sending in Outlook and not synchronising
Removing a CNAME from a cloudflare deleted website
Unable to send emails but I can receive them
Error code
I can't access my webmail help?
Email clients will not connect after moving domains to Cloudflare
Outgoing email going to spam
Problem accessing the cloudflare email service
MX records deleted
SMTP emails take ages to arrive in Gmail inbox
Autodiscover not working
Email Unable since I get on cloudflare with my domain
Cloudflare interfering with email digest
MX Record Exposing IP Warning
Not receiving certain emails with Zoho email through Cloudflare
Some of your DNS Records are
Woocommerce orders email not receiving
I don't receive email after active the Clodflare dns
PHP mail() not sending on GoDaddy domain with DNS hosted here
Cannot send out email
Email don't work
Auto-Discover email set up
Subdomain doesn't works
WordPress Mails not working after using CloudFlare Email Routing
WordPress Mails not working after using CloudFlare Email Routing
Having issues with receiving email
Cloudflare DNS migration from GCP Cloud DNS
Email not being delivered since moving registration to Cloudflard
Hiding IP address
Error sending emails
Why would email suddenly stop working after being fine for about a year?
Help with email!
Cloudflare SSL not Active without www
Email not working!
Email DNS Help
Update records
Reset DNS entries?
Email service hijacking my MX domain
Error 526 in my site. It was working fine until now
Emails From Contact Page Fail Authentication
Hi for MX mail dont work
Emails not been sent or recived till i switched to cloud flare
Problem sending email XenForo
Gmail issue
Cloudflare DNS IP Change Doesn't Work and Just Redirects
Can't receive E-Mails anymore
Google workspace broke my email
DMARC and SPF Failed on emails
Email smarthost
DKIM not found on thunderbird client
This record exposes the IP behind which you have proxied through Cloudflare?
Email going to Junk folder
Sometimes not receiving emails
Email don't work at all
Cannot proxy DNS records for mail servers
I want to run my emals by my own provider back again
SPF record, DMARC record
I cant login my mail adresses and wwebmail
Not receiving emails via Bluehost! DNS settings seems fine
Godaddy MX not receiving emails - DNS looks fine
Not receiving emails via Bluehost! DNS settings seems fine
Not getting apple ID Verification email through
State of the domain CNAME records
Custom Email not working
WAF-blocked countries causing spam filter triggering
Godaddy email not working
Name records in DNC
Set up of email
MX Recored Not Save Correctly
Cpanel and Mail Server
Mail not arriving
Cloudflare and outgoing mail
I don't want Cloudflare involved with my Email!
All of my emails are being "rejected" in my inbox
Mail record and other questions
Contact form (Wordpress site) not working
My Cloudflare IP is shared with a phishing site and I have huge problems in sending my mails
Mail configuration with cloudflare
Using Cloudflare with cpanel and send emails from [email protected] domain but not [email protected]
SSL error: No path found from the leaf certificate to any root. Maybe an intermediate certificate is missing? ANY IDEA how solve it
521 even on flex
A Record to enable Email Receiving with Amazon SES
I am not able to receive the emails on my personal domain?
Lost emails after nameserver change
Changing DNS settings for webmail to work with microsoft mail
Emails not accessable although the domain is proxied
MX records for 365 email with email forwarding from Cloudflare
I believe when we set our server IP address for mail, then how it helps DNS setting for website
Getting started issues, should I :search:
Unable to receive Emails to my bluehost hosting email accounts
Recently changed the name server of my VPS
MX Record Set but
Email not working!
Can receive emails but not sending
Pre check before Nameserver change
DNS glitch issues
Email Web Client cant access mail server
Domain Mail on Plesk - MX on Cloudflare Routing issue
DNS Management - Question
Mailed stopped working
Switching to cloudflare breaks email delivery
Email issues with InMotion Hosting
Email is not working since adding cloudflare
Problem sending emails with cloudflare: authentication rejected
Error 550: turn on the SMTP Authentication
Mail not working since pointing to cloudflare
MX Misconfigured so my emails are not sending
My email is not working on Cloudflare
Error 550: turn on the SMTP Authentication
Mail issue through Cloudflare
Smtp doesnot work
After setting up at cloudfare unable to receive email
Problem for access MX of mails
Cannot get email working since moving to Cloudflare - what are the correct settings under DNS?
Mail does not working after switching to Cloudlfare
After Active Cloudflare SSL NOT received WEBMAIL i.e ([email protected])
I cannot receive emails from third parties
Proxy or DNS only? Email not working when proxied
Actvating cloudflare only for www
Email Issue Hostgator