!!! URGENT [PHP] php mail() function Problem
| From: | Simos Varelakis | Date: | Thu, 18 Oct 2001 09:31:14 +0000 |
| Subject: | !!! URGENT [PHP] php mail() function Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71463@lists.php.net to get a copy of this message | ||
Hi to everyone
i have problem with php4 mail() function.
Os:mandrake 7.2 Mailprog:Sendmail
the following php code
<?php
mail("aaa@foo.com","subject","body","From:bbb@foo.com");
?>
does not send e-mail
my /var/log/mail/info files log the following
thewall sendmail[8313]: f9HAE9I08313: from=apache, size=0, class=0,
nrcpts=0, relay=apache@localhost
my php.ini sendmail path is /usr/sbin/sendmail -t
Ive try to make apache sendmail trusted user
+ change my php.ini path to
is /usr/sbin/sendmail -t -f root@localhost
but nothing :-)
any ideas
thanks in advance for any help :-)
Simos