ID:               26098
 Updated by:       [EMAIL PROTECTED]
 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 = [EMAIL PROTECTED]

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("[EMAIL PROTECTED]", "Test message", $message, "From:
[EMAIL PROTECTED]");
?>

Expected result:
----------------
$long_row repeated 80 times.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26098&edit=1

Reply via email to