From 1224f5f40f4defe815e4f7b5952a5f33b3532626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Bechyn=C4=9B?= Date: Thu, 24 Nov 2016 12:45:17 +0100 Subject: [PATCH] Content-Location added for attachment parts --- src/BeSimple/SoapCommon/Mime/MultiPart.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BeSimple/SoapCommon/Mime/MultiPart.php b/src/BeSimple/SoapCommon/Mime/MultiPart.php index 622f471..161f472 100644 --- a/src/BeSimple/SoapCommon/Mime/MultiPart.php +++ b/src/BeSimple/SoapCommon/Mime/MultiPart.php @@ -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; }