I am using this code to send mail with php http://www.siteduzero.com/tutoriel-3-35146-e-mail-envoyer-un-e-mail-en-php.html#ss_part_4 . This code works great when I send email to the popular servers (gmail, hotmail, etc.) . The problem is that when I try to send it to a ‘private’ server, well, I don’t know how to call it. I’m referring here to enterprise domain, like someone@some-enterprise.com. The mail does not reach the destination. Why is this happening and how can I solve this proble;
I am using this code to send mail with php http://www.siteduzero.com/tutoriel-3-35146-e-mail-envoyer-un-e-mail-en-php.html#ss_part_4 . This code
Share
Try using phpMailer. This is a good way to work with emails through PHP when your project need more accuracy. I hope it could solve your problem.