Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eb14a1e

Browse filesBrowse files
ddegenteshfabpot
authored andcommitted
[Mailer][Mime] Update inline part names with newly generated ContentId
1 parent 2eddb51 commit eb14a1e
Copy full SHA for eb14a1e

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/Mime/Email.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Email.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ private function prepareParts(): ?array
491491
$attachment['inline'] = true;
492492
$inlineParts[$name] = $part = $this->createDataPart($attachment);
493493
$html = str_replace('cid:'.$name, 'cid:'.$part->getContentId(), $html);
494+
$part->setName($part->getContentId());
494495
continue 2;
495496
}
496497
$attachmentParts[] = $this->createDataPart($attachment);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.