I moved my code from my local machine to hostgator hosting. Then my php mail() function stop working. My problem is,
1.The function work perfectly with my website email.
2.But it does not work with other mail such as gmail, yahoo mail, etc.
I asked to live chat team, they answered me php mail function will work with all mails on their hostgator. But simply I can't. What the problem is. My question not the duplicate of this (PHP mail form doesn't complete sending e-mail). My mail function work properly in localhost machine. But not work hostgator hosting.