Browse Source

Emailer: fix text-only email

pull/1380/head
Fabrixxm 7 years ago
parent
commit
ff41cc24bd
  1. 2
      include/Emailer.php

2
include/Emailer.php

@ -51,7 +51,7 @@ class Emailer {
"Content-Transfer-Encoding: base64\n\n" .
$textBody . "\n";
if (!$email_textonly && !is_null($htmlBody)){
if (!$email_textonly && !is_null($params['htmlVersion'])){
$multipartMessageBody .=
"--" . $mimeBoundary . "\n" . // text/html section
"Content-Type: text/html; charset=UTF-8\n" .

Loading…
Cancel
Save