From: Tobias Diekershoff Date: Mon, 9 Feb 2015 10:38:20 +0000 (+0100) Subject: Merge pull request #1380 from fabrixxm/plain-text-mail-option X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b383e53927f988afd73613022d335d4964d929d2;hp=6f78a4dcf265fa0f0d062ba90f1c3342507e8cc6;p=friendica.git Merge pull request #1380 from fabrixxm/plain-text-mail-option Emailer: fix text-only email --- diff --git a/include/Emailer.php b/include/Emailer.php index 7aae57346e..d0568f6001 100644 --- a/include/Emailer.php +++ b/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" .