Skip to content

Commit d6fc420

Browse files
Jubekidriesvints
authored andcommitted
Add MessageStreamId to Postmark Transport again (#38748)
1 parent eb24e34 commit d6fc420

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Illuminate/Mail/MailManager.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,17 @@ protected function createPostmarkTransport(array $config)
288288
{
289289
$factory = new PostmarkTransportFactory();
290290

291+
$options = isset($config['message_stream_id'])
292+
? ['message_stream' => $config['message_stream_id']]
293+
: [];
294+
291295
return $factory->create(new Dsn(
292296
'postmark+api',
293297
'default',
294-
$config['token'] ?? $this->app['config']->get('services.postmark.token')
298+
$config['token'] ?? $this->app['config']->get('services.postmark.token'),
299+
null,
300+
null,
301+
$options
295302
));
296303
}
297304

0 commit comments

Comments
 (0)