From 17dc768b8310434ff849d3999a61f2ee1f11f0e1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 6 Oct 2015 14:11:57 +0800 Subject: [PATCH] Import/Core_email.php --- Import/Core_email.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Import/Core_email.php b/Import/Core_email.php index a4023217..a462d54c 100644 --- a/Import/Core_email.php +++ b/Import/Core_email.php @@ -93,6 +93,15 @@ class Pman_Core_Import_Core_email extends Pman $from_email = $from_str[0]->mailbox . '@' . $from_str[0]->host; + // inline CSS... + + require_once 'HTML/CSS/InlineStyle.php'; + $is = new HTML_CSS_InlineStyle(); + $is->loadHTML($parts[2]); + + + + if ($c->id) { $cc =clone($c); -- 2.39.2