Content-Location added for attachment parts
This commit is contained in:
parent
f4a4619fe6
commit
1224f5f40f
|
@ -117,6 +117,8 @@ class MultiPart extends PartHeader
|
||||||
if ($isMain === true) {
|
if ($isMain === true) {
|
||||||
$this->mainPartContentId = $contentId;
|
$this->mainPartContentId = $contentId;
|
||||||
$this->setHeader('Content-Type', 'start', $part->getHeader('Content-ID'));
|
$this->setHeader('Content-Type', 'start', $part->getHeader('Content-ID'));
|
||||||
|
} else {
|
||||||
|
$part->setHeader('Content-Location', $contentId);
|
||||||
}
|
}
|
||||||
$this->parts[$contentId] = $part;
|
$this->parts[$contentId] = $part;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue