ID: 35253 Updated by: [EMAIL PROTECTED] Reported By: s dot masugata at digicom dot dnp dot co dot jp -Status: Assigned +Status: Closed Bug Type: mbstring related Operating System: Solaris8 PHP Version: 5CVS, 4CVS (2005-11-17) (snap) Assigned To: hirokawa New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-11-18 09:13:27] [EMAIL PROTECTED] Rui, this is yours, I presume. :) ------------------------------------------------------------------------ [2005-11-18 09:04:06] s dot masugata at digicom dot dnp dot co dot jp Thank you for reply. :) Sorry, Mistaking by the sample scripts to have been specified by me of. it's as the following: <?php declare( encoding="EUC-JP" ); $A = " ". " "; $encode = mb_encode_mimeheader( $A, "EUC-JP", "B" ); $Cc = "Cc: ".$encode." <[EMAIL PROTECTED]>"; mail( "[EMAIL PROTECTED]", "TEST Subject", "TEST Body", $Cc ); ?> Cc: =?EUC-JP?B?pKKkoqSipKKkoqSipKKkoqSipKKkoqSipKKkoqSipKKkoqSipKKkoqSipKI=?= =?EUC-JP?B?pKKkoqSipKKkoqSipKKkoqSipKKkoqSipKKkoqSipKKkoqSipKKkoqSipKI=?= =?EUC-JP?B?pKKkog==?= <[EMAIL PROTECTED]> Because it doesn't consider a field identifier "Cc: " about the mb_encode_mimeheader function, the field length at the head exceeds 76 characters. It found the patch which solves this problem. http://www.geocities.jp/rui_hirokawa/php/patch/php4_mb_mime_offset.patch.txt Please committing, I'm happy. :) rui knows details. ------------------------------------------------------------------------ [2005-11-17 14:17:22] [EMAIL PROTECTED] Please put the reproduce script somewhere and paste the link here, so it won't get corrupted by the bug system. ------------------------------------------------------------------------ [2005-11-17 13:21:43] s dot masugata at digicom dot dnp dot co dot jp Attempted to try in php5-200511170730 but the status doesn't change. ------------------------------------------------------------------------ [2005-11-17 09:21:34] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35253 -- Edit this bug report at http://bugs.php.net/?id=35253&edit=1