8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 365aca3 commit 83b0491Copy full SHA for 83b0491
src/Symfony/Component/Mailer/Bridge/Postmark/Transport/PostmarkApiTransport.php
@@ -147,7 +147,7 @@ private function getAttachments(Email $email): array
147
];
148
149
if ('inline' === $disposition) {
150
- $att['ContentID'] = 'cid:'.$filename;
+ $att['ContentID'] = 'cid:'.($attachment->hasContentId() ? $attachment->getContentId() : $filename);
151
}
152
153
$attachments[] = $att;
0 commit comments