|
|
@ -204,7 +204,7 @@ class Message extends BaseMessage |
|
|
|
$partFound = false; |
|
|
|
$partFound = false; |
|
|
|
foreach ($parts as $key => $part) { |
|
|
|
foreach ($parts as $key => $part) { |
|
|
|
if (!($part instanceof \Swift_Mime_Attachment)) { |
|
|
|
if (!($part instanceof \Swift_Mime_Attachment)) { |
|
|
|
/* @var \Swift_Mime_MimePart $part */ |
|
|
|
/* @var $part \Swift_Mime_MimePart */ |
|
|
|
if ($part->getContentType() == $contentType) { |
|
|
|
if ($part->getContentType() == $contentType) { |
|
|
|
$charset = $part->getCharset(); |
|
|
|
$charset = $part->getCharset(); |
|
|
|
unset($parts[$key]); |
|
|
|
unset($parts[$key]); |
|
|
|