Browsing articles tagged with " How to send correct UTF-8 mail in PHP"
Mar
18
2010

How to send correct UTF-8 mail in 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, $header_ . $header); }

Get Adobe Flash playerPlugin by wpburn.com wordpress themes