Commit 2e6ec181 authored by jcnventura's avatar jcnventura

Issue #1335706 by rhys: apply UTF-8 charset when using the Mail_mime class.

parent d6dd49de
......@@ -209,6 +209,8 @@ function print_mail_mail($key, &$message, $params) {
// Configure new MIME object
$mime = new Mail_mime("\n");
$mime_params['html_encoding'] = '7bit';
$mime_params['html_charset'] = 'utf-8';
$mime_params['text_charset'] = 'utf-8';
// Pass message contents into MIME object
switch ($key) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment