PHP 4.0 Bug #5838: Mail() returns "Warning: Unknown error in <script>"
| From: | steven dot van-poeck at wanadoo dot com | Date: | Fri, 28 Jul 2000 15:25:18 +0000 |
| Subject: | PHP 4.0 Bug #5838: Mail() returns "Warning: Unknown error in <script>" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26724@lists.php.net to get a copy of this message | ||
From: steven.van-poeck@wanadoo.com
Operating system: Win NT 4 SP 5
PHP version: 4.0.1pl2
PHP Bug Type: Misbehaving function
Bug description: Mail() returns "Warning: Unknown error in <script>"
The code is:
mail("<steven.van-poeck@wanadoo.com>", "Requete acces Web ATn3",
$message);
1/ $message does not contain any non US-ASCII characters
2/ the SMTP server is correctly configured in php.ini (smtp.wanadoo.com)
I get only this error message when running PHP4 as an ISAPI on Apache 1.3.9 (using the mod_php4 from
http://www.geocities.com/ro_marius/mod_php4.html)
When I run PHP4 as a scripting engine (php.exe), it just hangs: nothing happens and IE times out on
the action
There is defenitely something wrong with mail() !