Skip to content

Commit

Permalink
set destinations since bcc missing from raw message
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 8, 2022
1 parent 6c4488a commit 8ca43f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Illuminate/Mail/Transport/SesTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ protected function doSend(SentMessage $message): void
array_merge(
$this->options, [
'Source' => $message->getEnvelope()->getSender()->toString(),
'Destinations' => collect($message->getEnvelope()->getRecipients())
->map
->toString()
->values()
->all(),
'RawMessage' => [
'Data' => $message->toString(),
],
Expand Down

0 comments on commit 8ca43f4

Please sign in to comment.