php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6127 mail() function hangs the script
Submitted: 2000-08-12 05:28 UTC Modified: 2000-09-03 07:48 UTC
From: wckramer at knmg dot nl Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.1pl2 OS: winNT iis4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wckramer at knmg dot nl
New email:
PHP Version: OS:

 

 [2000-08-12 05:28 UTC] wckramer at knmg dot nl
I used the following script
<?
print("mail");
mail("me@myhost.com","why stops the script","AARGH");
print("send");
?>

The script doesn't print "mail" or "send" and it doesn't sned the mail.

I realy have the correct smtp server-adres in my php.ini 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 07:25 UTC] sniper@php.net
Please try CVS or snapshot (http://snaps.php.net). This should be fixed there.

--Jani
 [2000-09-03 07:48 UTC] waldschrott@php.net
Closed due to missing user feedback, most likely non
existent anymore.
 [2002-05-12 18:19 UTC] superoverdrive at gmx dot de
Same problem here! Once in a while, some scripts hang....I found out it is just the mail line! It does sometimes work though but not always...really odd. Right now I also get this time out....

You ALWAYS get this timeout when you have an error in the mail syntax.

mail("$email", "$subject", $body,
     "From: me@mydomain.com\nReply-To: $sender\nX-Mailer: PHP/" . phpversion());


Tobi
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 03:01:29 2024 UTC