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 a3b0d89 commit 5580080Copy full SHA for 5580080
src/Symfony/Component/Mailer/Bridge/MailerSend/Transport/MailerSendApiTransport.php
@@ -147,7 +147,7 @@ private function prepareAttachments(Email $email): array
147
$filename = $headers->getHeaderParameter('Content-Disposition', 'filename');
148
149
$att = [
150
- 'content' => $attachment->bodyToString(),
+ 'content' => base64_encode($attachment->getBody()),
151
'filename' => $filename,
152
];
153
0 commit comments