Skip to content

Commit 9e12a6d

Browse files
committed
[Mailer][MailchimpBridge] Fix incorrect sender address when sender has name
This fixes the same problem as 6dbac13 but for HTTP transport.
1 parent 3a51e01 commit 9e12a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Mailchimp/Http/MandrillTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected function doSend(SentMessage $message): void
4242
'json' => [
4343
'key' => $this->key,
4444
'to' => $this->stringifyAddresses($envelope->getRecipients()),
45-
'from_email' => $envelope->getSender()->toString(),
45+
'from_email' => $envelope->getSender()->getAddress(),
4646
'raw_message' => $message->toString(),
4747
],
4848
]);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy