I've been using Cloudflare to host my DNS, and PHPMailer to send e-mail through ZOHOs SMTP servers with great success, but have found that all my e-mails are hitting Gmail, Zoho and Hotmails spam folders.
When I disabled Cloudflare's DNS hosting, and set-up my reverse DNS server, all my issues were resolved and mail wasn't sent to the spam folder. Also, a
host command changed from:
$ host noteafloat.com noteafloat.com has address 220.127.116.11 noteafloat.com has address 18.104.22.168 noteafloat.com mail is handled by 10 mx.zohomail.com. noteafloat.com mail is handled by 20 mx2.zohomail.com.
$ host noteafloat.com noteafloat.com has address 22.214.171.124 noteafloat.com mail is handled by 20 mx2.zohomail.com. noteafloat.com mail is handled by 10 mx.zohomail.com.
Now, while this is all well and good, I rather like the services Cloudflare offers, so I turned it back on after setting up my reverse DNS. When I test the e-mail again, it gets sent to spam, and if I turn Cloudflare off again, it'll work again.
Am I forced to choose between using Cloudflare and having my mail sent to the spam folder? Please tell me there is a work around!