Skip to content

Commit

Permalink
[Mailer] added the reply-to addresses to the API SES transport request.
Browse files Browse the repository at this point in the history
The transport was not sending the reply-to addresses to the SES API.
  • Loading branch information
ribeiropaulor authored and fabpot committed Jun 10, 2020
1 parent 4d6a02a commit ee752f9
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -113,6 +113,9 @@ private function getPayload(Email $email, Envelope $envelope): array
if ($email->getHtmlBody()) {
$payload['Message.Body.Html.Data'] = $email->getHtmlBody();
}
if ($email->getReplyTo()) {
$payload['ReplyToAddresses.member'] = $this->stringifyAddresses($email->getReplyTo());
}

return $payload;
}
Expand Down

0 comments on commit ee752f9

Please sign in to comment.