Skip to content

Commit 8ca43f4

Browse files
committed
set destinations since bcc missing from raw message
1 parent 6c4488a commit 8ca43f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Illuminate/Mail/Transport/SesTransport.php

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ protected function doSend(SentMessage $message): void
4949
array_merge(
5050
$this->options, [
5151
'Source' => $message->getEnvelope()->getSender()->toString(),
52+
'Destinations' => collect($message->getEnvelope()->getRecipients())
53+
->map
54+
->toString()
55+
->values()
56+
->all(),
5257
'RawMessage' => [
5358
'Data' => $message->toString(),
5459
],

0 commit comments

Comments
 (0)