Skip to content

Commit 903c702

Browse files
[11.x] Add support for mime types in Resend mail transport (#52006)
* feat: Add support for mime types * Update ResendTransport.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent b397704 commit 903c702

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Illuminate/Mail/Transport/ResendTransport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ protected function doSend(SentMessage $message): void
7575
$filename = $headers->getHeaderParameter('Content-Disposition', 'filename');
7676

7777
$item = [
78+
'content_type' => $headers->get('Content-Type')->getBody(),
7879
'content' => str_replace("\r\n", '', $attachment->bodyToString()),
7980
'filename' => $filename,
8081
];

0 commit comments

Comments
 (0)