File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Illuminate/Mail/Transport Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ protected function doSend(SentMessage $message): void
5151 if ($ message ->getOriginalMessage () instanceof Message) {
5252 foreach ($ message ->getOriginalMessage ()->getHeaders ()->all () as $ header ) {
5353 if ($ header instanceof MetadataHeader) {
54- $ options ['Tags ' ][] = ['Name ' => $ header ->getKey (), 'Value ' => $ header ->getValue ()];
54+ $ options ['EmailTags ' ][] = ['Name ' => $ header ->getKey (), 'Value ' => $ header ->getValue ()];
5555 }
5656 }
5757 }
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function testSend()
7373 ->with (m::on (function ($ arg ) {
7474 return $ arg ['Source ' ] === 'myself@example.com ' &&
7575 $ arg ['Destination ' ]['ToAddresses ' ] === ['me@example.com ' , 'you@example.com ' ] &&
76- $ arg ['Tags ' ] === [['Name ' => 'FooTag ' , 'Value ' => 'TagValue ' ]] &&
76+ $ arg ['EmailTags ' ] === [['Name ' => 'FooTag ' , 'Value ' => 'TagValue ' ]] &&
7777 strpos ($ arg ['Content ' ]['Raw ' ]['Data ' ], 'Reply-To: Taylor Otwell <taylor@example.com> ' ) !== false ;
7878 }))
7979 ->andReturn ($ sesResult );
@@ -111,7 +111,7 @@ public function testSesV2LocalConfiguration()
111111 'region ' => 'eu-west-1 ' ,
112112 'options ' => [
113113 'ConfigurationSetName ' => 'Laravel ' ,
114- 'Tags ' => [
114+ 'EmailTags ' => [
115115 ['Name ' => 'Laravel ' , 'Value ' => 'Framework ' ],
116116 ],
117117 ],
@@ -144,7 +144,7 @@ public function testSesV2LocalConfiguration()
144144
145145 $ this ->assertSame ([
146146 'ConfigurationSetName ' => 'Laravel ' ,
147- 'Tags ' => [
147+ 'EmailTags ' => [
148148 ['Name ' => 'Laravel ' , 'Value ' => 'Framework ' ],
149149 ],
150150 ], $ transport ->getOptions ());
You can’t perform that action at this time.
0 commit comments