Sendmail won't work with a domain from godaddy linked to Digitalocean droplet and using cloudflare
Im linking a domain name from godaddy with my ubuntu 14.04 droplet "LAMP installed" and using cloudflare with it.
I already installed sendmail in ubuntu.
my problem is when I send a mail using php mail it shows that it sent correctly but I don't receive anything in my email. so I guess it's a problem of DNS / MX records in either Digitalocean or cloudflare. which I don't know how to configure I think.
this is the RECORDS im using in digitalOcean :
A @ 188.8.131.52
and this is the RECORDS im using in CloudFlare :
codacio.com points to 184.108.40.206 Automatic
ftp is an alias of codacio.com Automatic
email is an alias of email.secureserver.net Automatic
www is an alias of codacio.com Automatic
codacio.com mail handled by mailstore1.secureserver.net Automatic
codacio.com mail handled by smtp.secureserver.net Automatic
( all DNS and HTTP Proxy (CDN) Checked)