php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5838 Mail() returns "Warning: Unknown error in <script>"
Submitted: 2000-07-28 17:25 UTC Modified: 2000-08-20 03:01 UTC
From: steven dot van-poeck at wanadoo dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.1pl2 OS: Win NT 4 SP 5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: steven dot van-poeck at wanadoo dot com
New email:
PHP Version: OS:

 

 [2000-07-28 17:25 UTC] steven dot van-poeck at wanadoo dot com
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() !

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-02 00:38 UTC] waldschrott@php.net
Usually mail() should not return such a warning. Please ensure that mail() returned that and reduce your code as much as possible.
 [2000-08-20 03:01 UTC] sniper@php.net
No feedback from user.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 12:00:01 2026 UTC