Added explicit UTF-8 encoding to all HTML emails
This commit is contained in:
@@ -30,7 +30,7 @@ class Preordernotification extends mfBaseModel {
|
||||
|
||||
public function sendToPreorder(Preorder $preorder, $email_to = false) {
|
||||
$subject = $this->subject;
|
||||
$body = "<html><head></head><body>";
|
||||
$body = '<html lang="de"><head><meta charset="utf-8" /></head><body>';
|
||||
$body .= $this->replaceBodyVariables($this->body_html, $preorder); // TODO: Variable replacement
|
||||
$body .= "</body></html>";
|
||||
$body .= "\n"; // explicitlyadd new line, or some mail clients wont show attachment
|
||||
|
||||
Reference in New Issue
Block a user