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

Appearance settings

Commit 08670cc

Browse filesBrowse 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
Copy full SHA for 08670cc

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Bridge/Mailchimp/Http/MandrillTransport.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.