php mail() function Problem with sendmail

From: Date: Wed, 17 Oct 2001 11:44:22 +0000
Subject: php mail() function Problem with sendmail
Groups: php.general 
Request: Send a blank email to php-general+get-71326@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

« previous php.general (#71326) next »