#25556 [Opn->Fbk]: mail function looses characters

From: Date: Tue, 16 Sep 2003 12:15:10 +0000
Subject: #25556 [Opn->Fbk]: mail function looses characters
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47626@lists.php.net to get a copy of this message
ID: 25556 Updated by: edink@php.net 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 ("te@mxu.de","subj",$body); imap_mail ("te@mxu.de","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

« previous php.bugs (#47626) next »