Re: mb_send_mail

From: Date: Fri, 31 Jan 2003 10:47:21 +0000
Subject: Re: mb_send_mail
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-428@lists.php.net to get a copy of this message
Hi, Hayk Chamyan <hayk@softerra.com> wrote: > > 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); What if prepending a single line mb_language("uni"); right before the mb_send_mail() call? Moriyoshi

« previous php.i18n (#428) next »