Merge pull request #1380 from fabrixxm/plain-text-mail-option

Emailer: fix text-only email
This commit is contained in:
Tobias Diekershoff 2015-02-09 11:38:20 +01:00
commit b383e53927
1 changed files with 1 additions and 1 deletions

View File

@ -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" .