#26098 [Opn->Csd]: Some characters omitted in a long message
| From: | iliaa@php.net | Date: | Mon, 03 Nov 2003 19:38:31 +0000 |
| Subject: | #26098 [Opn->Csd]: Some characters omitted in a long message | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-49904@lists.php.net to get a copy of this message | ||
ID: 26098
Updated by: iliaa@php.net
Reported By: sistekj at fel dot cvut dot cz
-Status: Open
+Status: Closed
Bug Type: Mail related
Operating System: Win XP Prof. CZ
PHP Version: 4.3.3
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-11-03 14:36:40] sistekj at fel dot cvut dot cz
Description:
------------
When sending a long plain-text message by mail(), single characters at
specific positions are omitted. The interval between missing characters
is about 810 characters. It is independent of text sent, formatting,
line-ending commands or number of characters in one row.
PHP: 4.3.3 as a module of Apache 2.0.47, Win XP Prof. CZ,
Windows firewall OFF, standard SMTP server.
SMTP-related changes in php.ini:
SMTP = mailgw.cvut.cz
sendmail_from = sistekj@vc.cvut.cz
Reproduce code:
---------------
<?php
$long_row="Text to be repeated many times, any data, any contents,
anything can be here. This sentence is to fill the space \r\n ";
$message="";
for ($i = 1; $i <= 80; $i++) {
$message=$message.$long_row; //very looong message body
}
mail("sistekj@vc.cvut.cz", "Test message", $message, "From:
sistekj@vc.cvut.cz");
?>
Expected result:
----------------
$long_row repeated 80 times.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26098&edit=1