-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: Add roundrobin transport driver config
- Loading branch information
Showing
1 changed file
with
24 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,37 +29,37 @@ | |
| 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" | ||
| | ||
*/ | ||
|
||
'mailers' => [ | ||
'smtp' => [ | ||
'transport' => 'smtp', | ||
'url' => env('MAIL_URL'), | ||
'host' => env('MAIL_HOST', 'smtp.mailgun.org'), | ||
'port' => env('MAIL_PORT', 587), | ||
'encryption' => env('MAIL_ENCRYPTION', 'tls'), | ||
'username' => env('MAIL_USERNAME'), | ||
'password' => env('MAIL_PASSWORD'), | ||
'timeout' => null, | ||
'transport' => 'smtp', | ||
'url' => env('MAIL_URL'), | ||
'host' => env('MAIL_HOST', 'smtp.mailgun.org'), | ||
'port' => env('MAIL_PORT', 587), | ||
'encryption' => env('MAIL_ENCRYPTION', 'tls'), | ||
'username' => env('MAIL_USERNAME'), | ||
'password' => env('MAIL_PASSWORD'), | ||
'timeout' => null, | ||
'local_domain' => env('MAIL_EHLO_DOMAIN'), | ||
], | ||
|
||
'ses' => [ | ||
'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, | ||
// ], | ||
|
@@ -72,7 +72,7 @@ | |
|
||
'log' => [ | ||
'transport' => 'log', | ||
'channel' => env('MAIL_LOG_CHANNEL'), | ||
'channel' => env('MAIL_LOG_CHANNEL'), | ||
], | ||
|
||
'array' => [ | ||
|
@@ -86,6 +86,14 @@ | |
'log', | ||
], | ||
], | ||
|
||
'roundrobin' => [ | ||
'transport' => 'roundrobin', | ||
'mailers' => [ | ||
'ses', | ||
'postmark', | ||
], | ||
], | ||
], | ||
|
||
/* | ||
|
@@ -101,7 +109,7 @@ | |
|
||
'from' => [ | ||
'address' => env('MAIL_FROM_ADDRESS', '[email protected]'), | ||
'name' => env('MAIL_FROM_NAME', 'Example'), | ||
'name' => env('MAIL_FROM_NAME', 'Example'), | ||
], | ||
|
||
/* | ||
|