From: robbix at web dot de
Operating system: Windows 2K Server
PHP version: 4.3.3
PHP Bug Type: Mail related
Bug description: mail function swallows every 1004th char
Description:
------------
After upgrading from 4.3.1 to 4.3.3 the mail-function swallows every
1004th character you try to send.
When switching back to 4.3.1 everything works fine again.
This could be a side-effect of the socket-problems in 4.3.3 .
Reproduce code:
---------------
<?php
$body = "";
for ($i=0;$i<100;$i++) {
$body .=
"0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
";
}
mail( "[EMAIL PROTECTED]", "Test", $body, "" );
?>
Expected result:
----------------
I expect to receive an email with 100 lines and 100 chars in each line.
Actual result:
--------------
What I get is a single missing character every 10 lines.
--
Edit bug report at http://bugs.php.net/?id=25668&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25668&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25668&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25668&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25668&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25668&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25668&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25668&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25668&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25668&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25668&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25668&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25668&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25668&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25668&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25668&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25668&r=float