#21985 [Opn->Ver]: mb_send_mail() doesn't encode the message body into MIME base64

From: Date: Sat, 01 Feb 2003 09:02:55 +0000
Subject: #21985 [Opn->Ver]: mb_send_mail() doesn't encode the message body into MIME base64
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31830@lists.php.net to get a copy of this message
ID: 21985 Updated by: moriyoshi@php.net Reported By: hayk@softerra.com -Status: Open +Status: Verified Bug Type: mbstring related Operating System: Windows 2000 PHP Version: 4.3.0 New Comment: Thanks for the report. Changing status [Open => Verified] Previous Comments: ------------------------------------------------------------------------ [2003-01-31 11:36:44] hayk@softerra.com I'm trying to send a UTF-8 encoded e-mail using mb_send_mail() under PHP 4.3.0 with the MBString extension. mb_send_mail() adds the following lines to the e-mail header: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: BASE64 But it doesn't encode the message body into MIME base64 and I'm forced to use mb_send_mail($address, $subject, chunk_split(base64_encode($msg)), $extra_headers); instead of mb_send_mail($address, $subject, $msg, $extra_headers); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21985&edit=1

« previous php.bugs (#31830) next »