Bug #6127 Updated: mail() function hangs the script
| From: | superoverdrive at gmx dot de | Date: | Sun, 12 May 2002 22:19:05 +0000 |
| Subject: | Bug #6127 Updated: mail() function hangs the script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7496@lists.php.net to get a copy of this message | ||
ID: 6127
Updated by: superoverdrive@gmx.de
Reported By: wckramer@knmg.nl
Status: Closed
Bug Type: Misbehaving function
Operating System: winNT iis4
PHP Version: 4.0.1pl2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2000-09-03 07:48:31] waldschrott@php.net
Closed due to missing user feedback, most likely non
existent anymore.
------------------------------------------------------------------------
[2000-08-20 07:25:35] sniper@php.net
Please try CVS or snapshot (http://snaps.php.net). This should be fixed
there.
--Jani
------------------------------------------------------------------------
[2000-08-12 05:28:59] wckramer@knmg.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=6127&edit=1