ID: 25638 Updated by: [EMAIL PROTECTED] Reported By: khoker at rjobrien dot com -Status: Open +Status: Closed Bug Type: Mail related Operating System: Windows 2000 PHP Version: 4.3.3 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-09-23 16:16:50] khoker at rjobrien dot com Description: ------------ I've discovered a problem with the mail() function for PHP 4.3.3 on Win32. I can not replicate this issue using 4.3.2 or 4.3.1. I'm sending a multipart MIME text/html mail. I'll post the small section of code where I insert the HTML section into the mail message. I'll be the first to admit there are a lot of things I could be doing wrong here -- but I find it curious that that 4.3.2/1 works fine and 4.3.3 pukes up some strange garbage. Reproduce code: --------------- // section where I set the HTML headers $Msg.="\n--".$IB."\n"; $Msg.="Content-Type: text/html;\n\tcharset=\"iso-8859-1\"\n"; $Msg.="Content-Transfer-Encoding: base64\n\n"; $Msg.=chunk_split(base64_encode($Html))."\n\n"; $Msg.="\n--".$IB."--\n"; Expected result: ---------------- Attached you will find AM Grain Comments for 9/23/2003. Open the attachment to view the report. If you have any questions, feel free to contact .... Actual result: -------------- Here's the link to your AM Grain Comments for 9/23/2003. <a href='http://wwwKÛ^XXØÛÝ[? Ü™\ÙX\˜Ú œÙØÝ[Y[?ÚYLM MŽIÏ?ÛXÚÈ\™HÈšY]ÈH™\Ü? ? ØO?’Yˆ[ÝH ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25638&edit=1