For all of the people struggling with getting PHP mail() sending to some, but not all, recipients…look no farther. Your solution has been posted here.
It appears PHP-generated emails don’t play nice on Windows mail servers. So, when your mail goes to anyone who uses a Windows mail server , the recipients won’t get it. UNLESS YOU ADD THE LINE: