#21985 [NEW]: mb_send_mail() doesn't encode the message body into MIME base64
| From: | hayk at softerra dot com | Date: | Fri, 31 Jan 2003 17:36:44 +0000 |
| Subject: | #21985 [NEW]: mb_send_mail() doesn't encode the message body into MIME base64 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-31778@lists.php.net to get a copy of this message | ||
From: hayk@softerra.com
Operating system: Windows 2000
PHP version: 4.3.0
PHP Bug Type: mbstring related
Bug description: mb_send_mail() doesn't encode the message body into MIME base64
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 bug report at http://bugs.php.net/?id=21985&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21985&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21985&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21985&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21985&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21985&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21985&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21985&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21985&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21985&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21985&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21985&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21985&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21985&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21985&r=gnused