PHP 4.0 Bug #5802 Updated: mail() works with PHP3 but not PHP4
| From: | Bug Database | Date: | Mon, 04 Sep 2000 18:54:48 +0000 |
| Subject: | PHP 4.0 Bug #5802 Updated: mail() works with PHP3 but not PHP4 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31964@lists.php.net to get a copy of this message | ||
ID: 5802
Updated by: sniper
Reported By: jswift@bindview.com
Status: Closed
Bug Type: Installation problem
Assigned To:
Comments:
Please try latest CVS or snapshot from http://snaps.php.net
and reopen this bug report if mail() doesn't work.
If something else is broken submit a new bug report. One bug per report.
--Jani
Previous Comments:
[2000-08-21 14:33:47] sniper@php.net
User feedback:
I downloaded and built the latest version from CVS but now
it won't read my php.ini file. No idea if the SMTP problem is fixed.
---
Please include your configure line here.
--Jani
---------------------------------------------------------------------------
[2000-08-20 02:16:28] sniper@php.net
No feedback from user.
--Jani
---------------------------------------------------------------------------
[2000-07-27 05:12:02] hholzgra@php.net
please try latest cvs or snapshot,
php 3 and 4 windows smtp code should be
in sync again ...
---------------------------------------------------------------------------
[2000-07-26 23:37:13] jswift@bindview.com
The symptom:
the web page attempts to load, but the server never responds with information. I do not receive an
error message.
I have also tried using n and rn in the message text and header info. I have tried leaving them off
altogether.
I have tried uncommenting the sendmail_path and leaving it empty.
Thanks again,
Joel Swift
---------------------------------------------------------------------------
[2000-07-26 23:33:08] jswift@bindview.com
This line works fine in PHP Version 3.0.16 but not in PHP Version 4.0.1pl2:
mail($email,'[WorkOrder]: New WO received',$msgText,"From:
jswift@bindview.comrn");
I have tried leaving the extra header information off:
mail($email,'[WorkOrder]: New WO received',$msgText);
php3.ini and php.ini both contain the same section:
SMTP = "rd.bindview.com"
sendmail_from = "jswift@bindview.com"
;sendmail_path =
PHP4 seems to work well in other circumstances, such as retrieving info from the database, etc.
When I go to test PHP4, I rename index.php3 to index.php; the .php extension is set up to run via
PHP4.
When I comment the mail() lines in the script, PHP4 executes it correctly.
This is with the CGI version of PHP4, not the ISAPI version. I'm running WinNT4.0 and IIS4.0.
I am loading the php_mssql70.dll.
Please let me know if you need more info or if I can help in any way. (I'm really excited
about getting 4.0 running so that I can implement its session support.)
Thanks,
Joel Swift
jswift@bindview.com
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5802