I have many emails, gmail and other and I try to send an email to each. Actually, only 1 email receive the message, the other, gmail for example, doesn't.
With linux : The command echo "Hi" | mail -s "test" [email protected] works fine.
But with PHP, the mail do not go....
I have no error in my mail.log. Have you any ideas ?
Thanks !
Edit : I'am on a linux server.
mail()is useless garbage. try using Swiftmailer or PHPMailer instead, both of which offer far better diagnostics for mail problems.