ID: 25556 Updated by: [EMAIL PROTECTED] Reported By: te at mxu dot de -Status: Open +Status: Feedback Bug Type: Mail related Operating System: Win32 (w2k) PHP Version: 4.3.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-09-16 08:03:51] te at mxu dot de Description: ------------ hello, i encountered a problem when sending mails longer than approx. 1K. mail (and imap_mail) seem to loose characters every 1k. this happend after upgrading to 4.3.3 (from 4.0.?or so) greetings from munich thorsten engel Reproduce code: --------------- $body = ''; for ($i=0; $i<100; $i++) { for ($j=0; $j<76; $j++) $body .= 'a'; $body.="\r\n"; } mail ("[EMAIL PROTECTED]","subj",$body); imap_mail ("[EMAIL PROTECTED]","subjimap",$body); Expected result: ---------------- aaaaa (76 chars per line) aaaaa aaaaa aaaaa aaaaa aaaaa Actual result: -------------- aaaaa (some lines only have 75 chars!!) aaaaa aaaa aaaaa aaaaa ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25556&edit=1
