php-i18n Digest 31 Jan 2003 10:31:58 -0000 Issue 147
Topics (messages 427 through 427):
mb_send_mail
427 by: Hayk Chamyan
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin 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:[EMAIL PROTECTED]
icq: 363611
--- End Message ---