]> git.mxchange.org Git - friendica.git/blobdiff - include/Emailer.php
regenerated credits.txt
[friendica.git] / include / Emailer.php
index a3f85433de04335c57cfabb8a7a5448bf099ca18..d0568f600128a4f447fbaf4f2561865f613292bd 100644 (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" .
@@ -68,7 +68,7 @@ class Emailer {
                        'body' => $multipartMessageBody,
                        'headers' => $messageHeader
                );
-               echo "<pre>"; var_dump($hookdata); killme();
+               //echo "<pre>"; var_dump($hookdata); killme();
                call_hooks("emailer_send", $hookdata);
                $res = mail(
                        $hookdata['to'],                                                        // send to address