Re: !!! URGENT [PHP] php mail() function Problem
| From: | Yasuo Ohgaki | Date: | Sat, 20 Oct 2001 04:57:14 +0000 |
| Subject: | Re: !!! URGENT [PHP] php mail() function Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71664@lists.php.net to get a copy of this message | ||
If your sendmail is set up correctly, you should be able to send mail. Check your sendmail. Look for sendmail Manul, FAQ, etc, since it's not PHP problem.
--
Yasuo Ohgaki
Simos Varelakis wrote:
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