[10.x] Add roundrobin transport driver config (#6301)

* add roundrobin transport driver config

* Update mail.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
This commit is contained in:
Ahmed shamim 2023-12-23 21:57:06 +06:00 committed by GitHub
parent 07fdfbc8d8
commit 890835b7a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 6 deletions

View File

@ -29,7 +29,7 @@
| mailers below. You are free to add additional mailers as required. | mailers below. You are free to add additional mailers as required.
| |
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2", | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
| "postmark", "log", "array", "failover" | "postmark", "log", "array", "failover", "roundrobin"
| |
*/ */
@ -50,16 +50,16 @@
'transport' => 'ses', 'transport' => 'ses',
], ],
'mailgun' => [ 'postmark' => [
'transport' => 'mailgun', 'transport' => 'postmark',
// 'message_stream_id' => null,
// 'client' => [ // 'client' => [
// 'timeout' => 5, // 'timeout' => 5,
// ], // ],
], ],
'postmark' => [ 'mailgun' => [
'transport' => 'postmark', 'transport' => 'mailgun',
// 'message_stream_id' => null,
// 'client' => [ // 'client' => [
// 'timeout' => 5, // 'timeout' => 5,
// ], // ],
@ -86,6 +86,14 @@
'log', 'log',
], ],
], ],
'roundrobin' => [
'transport' => 'roundrobin',
'mailers' => [
'ses',
'postmark',
],
],
], ],
/* /*