Added explicit UTF-8 encoding to all HTML emails
This commit is contained in:
@@ -45,7 +45,7 @@ class MailtemplateDispatch extends mfBaseModel {
|
||||
if(!$template) return false;
|
||||
|
||||
if($template->body_html) {
|
||||
$body = "<html><head></head><body>";
|
||||
$body = '<html lang="de"><head><meta charset="utf-8" /></head><body>';
|
||||
$body .= $template->renderBody();
|
||||
$body .= "</body></html>\n"; // explicitly add new line, or some mail clients wont show attachment
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user