Content-Location added for attachment parts

This commit is contained in:
Petr Bechyně 2016-11-24 12:45:17 +01:00
parent f4a4619fe6
commit 1224f5f40f
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ class MultiPart extends PartHeader
if ($isMain === true) {
$this->mainPartContentId = $contentId;
$this->setHeader('Content-Type', 'start', $part->getHeader('Content-ID'));
} else {
$part->setHeader('Content-Location', $contentId);
}
$this->parts[$contentId] = $part;
}