Is there anyway to force everytime the PHP Mail() is used to force it to use SMTP authentication?
Maybe a setting through the PHP.ini file or a server configuration?
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
Another solution is to override your mail() to use your own function that use an external library like PHPmailer. It is possible with the APD extension.
You can use phpmailer project to work with email through your codes. This project uses SMTP for its activity. For more information, take a look at http://phpmailer.worxware.com/
Check this page, maybe it can be useful :