Re: [PHP4BETA] mail() doesn't work : bug ?

From: Date: Wed, 10 Nov 1999 14:34:11 +0000
Subject: Re: [PHP4BETA] mail() doesn't work : bug ?
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-6109@lists.php.net to get a copy of this message
On Wed, 10 Nov 1999, Olivier Cahagne wrote: > I tried various setups : > > sendmail_path = /usr/sbin/sendmail -t > phpinfo() reports /usr/sbin/sendmail -t > > sendmail_path = "/usr/sbin/sendmail -t" > phpinfo() reports /usr/sbin/sendmail -t > > sendmail_path = > phpinfo() reports no value > > [no sendmail_path line] > phpinfo() reports /usr/sbin/sendmail -t > > But none of these actually sent a mail (and the following script always > reported "mailok"). > > My mail.phtml script follows : > > <? > if (mail("cahagn_o@epita.fr", "My Subject", "Line")) > { > echo mailok; > } > else > { > echo mailnotok; > } > phpinfo(); > ?> FWIW, I've had exact same problem. I don't think I found a solution. -Andrei * Think digital, act analog. *

« previous php.version4 (#6109) next »