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("[EMAIL PROTECTED]","subject","body","From:[EMAIL PROTECTED]"); > ?> > > does not send e-mail > > my /var/log/mail/info files log the following > > thewall sendmail: 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]