Skip to content

Commit a48fc79

Browse files
committed
[Mime] Simplify adding Parts to an Email
1 parent 8123526 commit a48fc79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Normalizer/MimeMessageNormalizer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public function normalize(mixed $object, string $format = null, array $context =
6262
if ($object instanceof AbstractPart) {
6363
$ret = $this->normalizer->normalize($object, $format, $context);
6464
$ret['class'] = $object::class;
65+
unset($ret['seekable'], $ret['cid']);
6566

6667
return $ret;
6768
}

0 commit comments

Comments
 (0)