Skip to content

Commit

Permalink
bug #37162 [Mailer] added the reply-to addresses to the API SES trans…
Browse files Browse the repository at this point in the history
…port request. (ribeiropaulor)

This PR was merged into the 4.4 branch.

Discussion
----------

[Mailer] added the reply-to addresses to the API SES transport request.

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| License       | MIT

The transport was not sending the reply-to addresses to the SES API when using SendEmail API method.

Commits
-------

ee752f9 [Mailer] added the reply-to addresses to the API SES transport request.
  • Loading branch information
fabpot committed Jun 10, 2020
2 parents 5b719d1 + ee752f9 commit f88570a
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 f88570a

Please sign in to comment.