Bug #1321: A failed mail() makes the PHP go in an endless loop sending mails
| From: | christian at factory dot dk | Date: | Fri, 16 Apr 1999 09:31:52 +0000 |
| Subject: | Bug #1321: A failed mail() makes the PHP go in an endless loop sending mails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5095@lists.php.net to get a copy of this message | ||
From: christian@factory.dk
Operating system: WinNT 4.0
PHP version: 3.0.6
PHP Bug Type: Misbehaving function
Bug description: A failed mail() makes the PHP go in an endless loop sending mails
Here is a example script for the bug:
<html><head><title>Untitled</title></head>
<body>
<?
mail("christian@factory", "This is the subject", "This is the
body\n", "From: christian@factory.dk");
?>
It's done it again
</body>
</html>
I'm trying to send an email to a non existing domain "factory" instead of
"factory.dk". The PHP script apparently goes crazy and try sending the mail again every
minute for a couple of days... Our mailsystem sends the sender
and error message every times. With a thousand sendings a day the system returns thousan error
messages a day. Big time SPAM!
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net