Skip to content

Commit 4f4e693

Browse files
committed
support postmark key for consistency
1 parent d3e151c commit 4f4e693

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Illuminate/Mail/MailManager.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,9 @@ protected function createPostmarkTransport(array $config)
370370
return $factory->create(new Dsn(
371371
'postmark+api',
372372
'default',
373-
$config['token'] ?? $this->app['config']->get('services.postmark.token'),
373+
$config['token']
374+
?? $this->app['config']->get('services.postmark.token')
375+
?? $this->app['config']->get('services.postmark.key'),
374376
null,
375377
null,
376378
$options

0 commit comments

Comments
 (0)