Mailer.php
authorAlan Knowles <alan@roojs.com>
Mon, 24 Nov 2014 07:35:31 +0000 (15:35 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 24 Nov 2014 07:35:31 +0000 (15:35 +0800)
Mailer.php

index 5ac48d9..aea8fd6 100644 (file)
@@ -340,6 +340,11 @@ class Pman_Core_Mailer {
             if (preg_match('#^cid:#', $url)) {
                 continue;
             }
+            $me = $img->getAttribute('mailembed');
+            if ($me == 'no') {
+                continue;
+            }
+            
             $conv = $this->fetchImage($url);
             $this->images[$conv['contentid']] = $conv;