From: sistekj at fel dot cvut dot cz
Operating system: Win XP Prof. CZ
PHP version: 4.3.3
PHP Bug Type: Mail related
Bug description: Some characters omitted in a long message
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 bug report at http://bugs.php.net/?id=26098&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26098&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26098&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26098&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26098&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26098&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26098&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26098&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26098&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26098&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26098&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26098&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26098&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26098&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26098&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26098&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26098&r=float