X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Mailer.php;h=9b84e5f3870cd176942a02579ca489c9013b91ea;hb=23eb74f2085e09e79674b5b60078867a77e40f49;hp=24a9a70e611f0f3c9b7438d709c7d6c9cfceae13;hpb=fd17a6eeb2c5bbe5ec7575da642a0aee021faac4;p=Pman.Core diff --git a/Mailer.php b/Mailer.php index 24a9a70e..9b84e5f3 100644 --- a/Mailer.php +++ b/Mailer.php @@ -405,11 +405,10 @@ class Pman_Core_Mailer { $conv = $urls[$url]; } - + $img->setAttribute('src', 'cid:' . $conv['contentid']); } - print_R($test);exit; - + /* foreach ($imgs as $i=>$img) { $url = $img->getAttribute('src'); if (preg_match('#^cid:#', $url)) { @@ -424,9 +423,10 @@ class Pman_Core_Mailer { $this->images[$conv['contentid']] = $conv; $img->setAttribute('src', 'cid:' . $conv['contentid']); - - } + * + */ + return $dom->saveHTML();