PHP 4.0 Bug #7767 Updated: mail function works with php3 but not php4

From: Date: Tue, 14 Nov 2000 20:33:13 +0000
Subject: PHP 4.0 Bug #7767 Updated: mail function works with php3 but not php4
Groups: php.dev 
Request: Send a blank email to php-dev+get-38099@lists.php.net to get a copy of this message
ID: 7767 User Update by: alexsun123@hotmail.com Old-Status: Feedback Status: Open Bug Type: Mail related Description: mail function works with php3 but not php4 I have those permissions set up and it doesn't work. I think it may be the version of sendmail. I know my sendmail hasn't been updated since february 2000 and the newest version was created in september 2000. what version are you running and have you tried it with older versions? Previous Comments: --------------------------------------------------------------------------- [2000-11-12 10:56:09] sniper@php.net What does this print out: # ls -l /usr/sbin/sendmail This is my output: -rwsr-sr-x 1 root root 320516 Nov 12 17:50 /usr/sbin/sendmail and mail() works for me.. --Jani --------------------------------------------------------------------------- [2000-11-12 04:17:06] alexsun123@hotmail.com The mail function worked with php3 but when i upgraded to php4, it no longer worked. I did not change the php.ini at all. Regardless, the sendpath is /usr/sbin/sendmail -t -i. i also tried just /usr/sbin/sendmail -t but that didn't work either. The mail function returns 1 but does not send the e-mail. the mail function I use to test is: mail("alexsun123@hotmail.com", "Subject", "Line", "") everything else works fine. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7767

« previous php.dev (#38099) next »