Mailer.php
authoredward <edward@roojs.com>
Mon, 26 Mar 2018 06:01:28 +0000 (14:01 +0800)
committeredward <edward@roojs.com>
Mon, 26 Mar 2018 06:01:28 +0000 (14:01 +0800)
Mailer.php

index 3d890d0..fb2364d 100644 (file)
@@ -459,7 +459,7 @@ class Pman_Core_Mailer {
         
         @$dom->loadHTML('<?xml encoding="UTF-8">' .$html);
         
-        $head = $dom->getElementsByTagName('head');
+        $head = $dom->getElementsByTagName('body');
         
         $s = $dom->createElement('style');
         $e = $dom->createTextNode($this->css_inline);