mb_send_mail
| From: | Hayk Chamyan | Date: | Fri, 31 Jan 2003 10:31:52 +0000 |
| Subject: | mb_send_mail | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-427@lists.php.net to get a copy of this message | ||
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);
Is there any way I can handle the e-mail header addition/removal by mbstring?
--
Best regards,
Hayk
mailto:hayk@softerra.com
icq: 363611