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.
2 parents a3b0d89 + 5580080 commit cd5af8bCopy full SHA for cd5af8b
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