Skip to content

Commit 08670cc

Browse files
committed
bug #35172 [Mailer][MailchimpBridge] Fix incorrect sender address when sender has name (vilius-g)
This PR was merged into the 4.3 branch. Discussion ---------- [Mailer][MailchimpBridge] Fix incorrect sender address when sender has name | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | This fixes the same problem as 6dbac13 but for HTTP transport. I am also not sure that `from_email` parameter is needed here at all as it is optional for this API call. Commits ------- 9e12a6d [Mailer][MailchimpBridge] Fix incorrect sender address when sender has name
2 parents 3a51e01 + 9e12a6d commit 08670cc

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