8000 [Mailer] added the reply-to addresses to the API SES transport request. · symfony/symfony@ee752f9 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee752f9

Browse files
ribeiropaulorfabpot
authored andcommitted
[Mailer] added the reply-to addresses to the API SES transport request.
The transport was not sending the reply-to addresses to the SES API.
1 parent 4d6a02a commit ee752f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/Mailer/Bridge/Amazon/Transport/SesApiTransport.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ private function getPayload(Email $email, Envelope $envelope): array
113113
if ($email->getHtmlBody()) {
114114
$payload['Message.Body.Html.Data'] = $email->getHtmlBody();
115115
}
116+
if ($email->getReplyTo()) {
117+
$payload['ReplyToAddresses.member'] = $this->stringifyAddresses($email->getReplyTo());
118+
}
116119

117120
return $payload;
118121
}

0 commit comments

Comments
 (0)
0