Hi,
I'm trying to enable a whole Email as UTF-8 - The Body is OK but the
Subject remains ANSI - Please help
$headers = From:$from. \r\n .
Reply-To:$from . \r\n .
*Content-type:text/html;charset=utf-8;*.\r\n .
X-Mailer: PHP/.phpversion();
--
Hi,
For the subject you can use sg. like this:
?php
function mail_utf8($to, $subject = '(No subject)', $message = '', $header =
'') {
$header_ = 'MIME-Version: 1.0' . \r\n . 'Content-type: text/plain;
charset=UTF-8' . \r\n;
mail($to, '=?UTF-8?B?'.base64_encode($subject).'?=', $message,
Subject: [PHP] How to enable UTF-8 Subject String ? Only Body is set ok
Hi,
I'm trying to enable a whole Email as UTF-8 - The Body is OK but the
Subject remains ANSI - Please help
$headers = From:$from. \r\n .
Reply-To:$from . \r\n .
*Content-type:text/html
3 matches
Mail list logo