Skip to content

Commit 890835b

Browse files
[10.x] Add roundrobin transport driver config (#6301)
* add roundrobin transport driver config * Update mail.php --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent 07fdfbc commit 890835b

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

config/mail.php

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
| mailers below. You are free to add additional mailers as required.
3030
|
3131
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
32-
| "postmark", "log", "array", "failover"
32+
| "postmark", "log", "array", "failover", "roundrobin"
3333
|
3434
*/
3535

@@ -50,16 +50,16 @@
5050
'transport' => 'ses',
5151
],
5252

53-
'mailgun' => [
54-
'transport' => 'mailgun',
53+
'postmark' => [
54+
'transport' => 'postmark',
55+
// 'message_stream_id' => null,
5556
// 'client' => [
5657
// 'timeout' => 5,
5758
// ],
5859
],
5960

60-
'postmark' => [
61-
'transport' => 'postmark',
62-
// 'message_stream_id' => null,
61+
'mailgun' => [
62+
'transport' => 'mailgun',
6363
// 'client' => [
6464
// 'timeout' => 5,
6565
// ],
@@ -86,6 +86,14 @@
8686
'log',
8787
],
8888
],
89+
90+
'roundrobin' => [
91+
'transport' => 'roundrobin',
92+
'mailers' => [
93+
'ses',
94+
'postmark',
95+
],
96+
],
8997
],
9098

9199
/*

0 commit comments

Comments
 (0)