Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitcd5af8b

Browse files
committed
bug#51494 Fixed attachment base64 content string in MailerSendApiTransport (pavelwitassek)
This PR was merged into the 6.3 branch.Discussion----------Fixed attachment base64 content string in MailerSendApiTransport| Q | A| ------------- | ---| Branch? | 6.3| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets |Fix#51492| License | MIT- Fix base64 encoded body string of larger attachments in MailerSendApiTransportCommits-------5580080 Fixed attachment base64 content string in MailerSendApiTransport
2 parentsa3b0d89 +5580080 commitcd5af8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Mailer/Bridge/MailerSend/Transport/MailerSendApiTransport.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private function prepareAttachments(Email $email): array
147147
$filename =$headers->getHeaderParameter('Content-Disposition','filename');
148148

149149
$att = [
150-
'content' =>$attachment->bodyToString(),
150+
'content' =>base64_encode($attachment->getBody()),
151151
'filename' =>$filename,
152152
];
153153

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp