Skip to content

Commit

Permalink
[10.x] Add roundrobin transport driver config (#6301)
Browse files Browse the repository at this point in the history
* add roundrobin transport driver config

* Update mail.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
me-shaon and taylorotwell committed Dec 23, 2023
1 parent 07fdfbc commit 890835b
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions config/mail.php
Expand Up @@ -29,7 +29,7 @@
| mailers below. You are free to add additional mailers as required.
|
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
| "postmark", "log", "array", "failover"
| "postmark", "log", "array", "failover", "roundrobin"
|
*/

Expand All @@ -50,16 +50,16 @@
'transport' => 'ses',
],

'mailgun' => [
'transport' => 'mailgun',
'postmark' => [
'transport' => 'postmark',
// 'message_stream_id' => null,
// 'client' => [
// 'timeout' => 5,
// ],
],

'postmark' => [
'transport' => 'postmark',
// 'message_stream_id' => null,
'mailgun' => [
'transport' => 'mailgun',
// 'client' => [
// 'timeout' => 5,
// ],
Expand All @@ -86,6 +86,14 @@
'log',
],
],

'roundrobin' => [
'transport' => 'roundrobin',
'mailers' => [
'ses',
'postmark',
],
],
],

/*
Expand Down

0 comments on commit 890835b

Please sign in to comment.