Désactiver la fonction php mail()

22 avril 2014 Non Par Antony
in php.ini
sendmail_path=/bin/true
so to block mails silently (php will believe the mail is sent) you would want /bin/true
if you want php to know that sent has failed then replace with /bin/false