Do you have quotes around that? sendmail_path = "/usr/bin/sendmail -t -i" Also, what's the -i for?... Use "man sendmail" to find out, and see if it makes sense to have it there. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: "Martin Cabrera Diaubalick" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Monday, June 25, 2001 3:05 AM Subject: [PHP] mail() always returns false. Why? > Hello everyone! > > Good to see the list back! > > I had this weird problem switching from PHP3.0.16 to PHP 4.0.4pl1. After > changing Apache httpd.conf file, everything went ok except that mail() > function always returns false even though mails are sent. > > phpinfo() says my sendmail configuration is this one: > /usr/sbin/sendmail -t -i > > Does anyone know why is this happening? > > Thanks in advance. > Regards > > > > -- > 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] > -- 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]