Mailer.php
authorEdward <edward@roojs.com>
Fri, 21 Feb 2014 04:23:20 +0000 (12:23 +0800)
committerEdward <edward@roojs.com>
Fri, 21 Feb 2014 04:23:20 +0000 (12:23 +0800)
Mailer.php

index dd5cfe0..4f0699b 100644 (file)
@@ -312,6 +312,9 @@ class Pman_Core_Mailer {
         
         foreach ($imgs as $i=>$img) {
             $url  = $img->getAttribute('src');
+            if (preg_match('#^cid:#', $url)) {
+                continue;
+            }
             $conv = $this->fetchImage($url);
             $this->images[$conv['contentid']] = $conv;