PHP 4.0 Bug #7767 Updated: mail function works with php3 but not php4
| From: | sniper@php.net | Date: | Sun, 12 Nov 2000 15:56:09 +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-37821@lists.php.net to get a copy of this message | ||
ID: 7767
Updated by: sniper
Reported By: alexsun123@hotmail.com
Status: Feedback
Bug Type: Mail related
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[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