Emailer: fix text-only email
This commit is contained in:
parent
6f78a4dcf2
commit
ff41cc24bd
|
@ -51,7 +51,7 @@ class Emailer {
|
||||||
"Content-Transfer-Encoding: base64\n\n" .
|
"Content-Transfer-Encoding: base64\n\n" .
|
||||||
$textBody . "\n";
|
$textBody . "\n";
|
||||||
|
|
||||||
if (!$email_textonly && !is_null($htmlBody)){
|
if (!$email_textonly && !is_null($params['htmlVersion'])){
|
||||||
$multipartMessageBody .=
|
$multipartMessageBody .=
|
||||||
"--" . $mimeBoundary . "\n" . // text/html section
|
"--" . $mimeBoundary . "\n" . // text/html section
|
||||||
"Content-Type: text/html; charset=UTF-8\n" .
|
"Content-Type: text/html; charset=UTF-8\n" .
|
||||||
|
|
Loading…
Reference in a new issue