#27200 [Opn->Bgs]: Mail gives strange result
| From: | moriyoshi@php.net | Date: | Tue, 10 Feb 2004 09:24:45 +0000 |
| Subject: | #27200 [Opn->Bgs]: Mail gives strange result | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-54665@lists.php.net to get a copy of this message | ||
ID: 27200
Updated by: moriyoshi@php.net
Reported By: php at liefdeis dot com
-Status: Open
+Status: Bogus
Bug Type: Mail related
Operating System: Linux 2.4.18-3
PHP Version: 4.3.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
That's your MTA's issue.
Previous Comments:
------------------------------------------------------------------------
[2004-02-10 03:00:17] php at liefdeis dot com
Btw, does not occour when you put in a \r\n every 100 chars or
something. Only with a long list of non-breaking chars.
------------------------------------------------------------------------
[2004-02-10 02:56:34] php at liefdeis dot com
Description:
------------
When mailing a long text without any space or such, mailing on Linux
gives an unexpected exclamation mark after every 1000 chars or so. This
behavoir does not occour on Windows.
Reproduce code:
---------------
<?
$mail = "<enter_Email_Here>";
for ($i=0;$i<10000;$i++) {
$longtext .= "a";
}
$testmail = "PHP Mail Bug Test\r\n"
."\r\n"
."------_=_NextPart_PHP_SPECIAL_000\r\n"
."Content-Type: text/plain\r\n"
."\r\nPHP Mail Bug Test\r\n\r\n"
."------_=_NextPart_PHP_SPECIAL_000\r\n"
."Content-Type: text/html;\r\n"
." name=\"PHP Mail Bug Test.html\"\r\n"
."Content-Disposition: attachment;\r\n"
." filename=\"PHP Mail Bug Test.html\"\r\n\r\n"
.$longtext
."\r\n\r\n------_=_NextPart_PHP_SPECIAL_000--\r\n";
mail($mail,$mailkop,$testmail,
"From: $mail\r\n"
."Reply-To: $mail\r\n"
."Return-Path: $mail\r\n"
."X-Mailer: PHP Mail Bug Test\r\n"
."MIME-Version: 1.0\r\n"
."Content-Type: multipart/mixed;\r\n"
." boundary=\"----_=_NextPart_PHP_SPECIAL_000\"\r\n");
?>
Expected result:
----------------
A long line with 10000 a's
Actual result:
--------------
After 1000 chars, he gives a ! (exclamation mark) without any given
reason.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27200&edit=1