[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

View File

@@ -29,7 +29,7 @@ return [
| 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 @@ return [
'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 @@ return [
'log', 'log',
], ],
], ],
'roundrobin' => [
'transport' => 'roundrobin',
'mailers' => [
'ses',
'postmark',
],
],
], ],
/* /*