DataObjects/Core_setting.php
[Pman.Core] / Mailer.php
index 7412d78..c4dce68 100644 (file)
@@ -321,12 +321,8 @@ class Pman_Core_Mailer {
         
         $pg = $ff->page;
         
-        $ts = microtime(true);
-        
         $email = is_array($email)  ? $email : $this->toData();
         
-        print_r(microtime(true) - $ts);exit;
-        
         if (is_a($email, 'PEAR_Error')) {
             $pg->addEvent("COREMAILER-FAIL",  false, "email toData failed"); 
       
@@ -413,29 +409,8 @@ class Pman_Core_Mailer {
             $img->setAttribute('src', 'cid:' . $conv['contentid']);
         }
         
-        /*
-        foreach ($imgs as $i=>$img) {
-            $url  = $img->getAttribute('src');
-            if (preg_match('#^cid:#', $url)) {
-                continue;
-            }
-            $me = $img->getAttribute('mailembed');
-            if ($me == 'no') {
-                continue;
-            }
-            
-            $conv = $this->fetchImage($url);
-            $this->images[$conv['contentid']] = $conv;
-            
-            $img->setAttribute('src', 'cid:' . $conv['contentid']);
-        }
-        * 
-        */
-        
         return $dom->saveHTML();
         
-        
-        
     }
     function htmlbodyCssEmbed($html)
     {