From: edward Date: Mon, 26 Mar 2018 09:04:41 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=4fb6c9937db910a33d3320df6615da318e7461d5;hp=14556a8a15ac5daa959057b8aa0c5fb06ed5d1fc;p=Pman.Core Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 686c89c9..be641ce0 100644 --- a/Mailer.php +++ b/Mailer.php @@ -492,6 +492,17 @@ class Pman_Core_Mailer { */ } + function htmlbodySetClass($html, $cls) + { + $dom = new DOMDocument(); + + @$dom->loadHTML('' .$html); + + $body = $dom->getElementsByTagName('body'); + + + } + function fetchImage($url) {