bug #37162 [Mailer] added the reply-to addresses to the API SES transport 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
-------
ee752f90ed
[Mailer] added the reply-to addresses to the API SES transport request.
This commit is contained in:
commit
f88570af2f
|
@ -113,6 +113,9 @@ class SesApiTransport extends AbstractApiTransport
|
|||
if ($email->getHtmlBody()) {
|
||||
$payload['Message.Body.Html.Data'] = $email->getHtmlBody();
|
||||
}
|
||||
if ($email->getReplyTo()) {
|
||||
$payload['ReplyToAddresses.member'] = $this->stringifyAddresses($email->getReplyTo());
|
||||
}
|
||||
|
||||
return $payload;
|
||||
}
|
||||
|
|
Reference in New Issue