This commit is contained in:
Yuri Kuznetsov
2014-05-06 10:32:09 +03:00
parent ff1f733270
commit b94bde65ae
@@ -203,7 +203,7 @@ class InboundEmail extends \Espo\Services\Record
$body = $email->get('body');
if (!empty($body)) {
foreach ($inlineIds as $cid => $attachmentId) {
$body = str_replace('cid:' . $cid, '?entryPoint=attachment&id=' . $attachmentId, $body);
$body = str_replace('cid:' . $cid, '?entryPoint=attachment&id=' . $attachmentId, $body);
}
$email->set('body', $body);
}