We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41df466 commit fcf923dCopy full SHA for fcf923d
src/IMAP/Message.php
@@ -108,7 +108,7 @@ public function getHTMLBody($replaceImages = false)
108
$body = $this->bodies['html']->content;
109
if ($replaceImages) {
110
foreach ($this->attachments as $attachment) {
111
- if ($attachment->id) {
+ if ($attachment->id && isset($attachment->img_src)){
112
$body = str_replace('cid:'.$attachment->id, $attachment->img_src, $body);
113
}
114
0 commit comments