|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-09-16 09:45 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 07:00:01 2025 UTC |
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