We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d44ed21 commit 60c3c81Copy full SHA for 60c3c81
src/Illuminate/Mail/MailManager.php
@@ -327,8 +327,13 @@ protected function createMailgunTransport(array $config)
327
*/
328
protected function createPostmarkTransport(array $config)
329
{
330
+ $headers = isset($config['message_stream_id']) ? [
331
+ 'X-PM-Message-Stream' => $config['message_stream_id'],
332
+ ] : [];
333
+
334
return tap(new PostmarkTransport(
- $config['token'] ?? $this->app['config']->get('services.postmark.token')
335
+ $config['token'] ?? $this->app['config']->get('services.postmark.token'),
336
+ $headers
337
), function ($transport) {
338
$transport->registerPlugin(new ThrowExceptionOnFailurePlugin());
339
});
0 commit comments