[Mailer][MailchimpBridge] Fix incorrect sender address when sender has name
This fixes the same problem as https://github.com/symfony/symfony/commit/6dbac13a07c23f321b04489b6a9773 but for HTTP transport.
This commit is contained in:
parent
3a51e0143a
commit
9e12a6dcda
@ -42,7 +42,7 @@ class MandrillTransport extends AbstractHttpTransport
|
||||
'json' => [
|
||||
'key' => $this->key,
|
||||
'to' => $this->stringifyAddresses($envelope->getRecipients()),
|
||||
'from_email' => $envelope->getSender()->toString(),
|
||||
'from_email' => $envelope->getSender()->getAddress(),
|
||||
'raw_message' => $message->toString(),
|
||||
],
|
||||
]);
|
||||
|
Reference in New Issue
Block a user