projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ef7c0
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Mon, 24 Nov 2014 07:35:31 +0000
(15:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 24 Nov 2014 07:35:31 +0000
(15:35 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
5ac48d9
..
aea8fd6
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-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;