Skip to content

Commit

Permalink
[7.x] Allow configuring the timeout for the smtp driver (laravel#5262)
Browse files Browse the repository at this point in the history
* Allow configuring the timeout for the smtp driver

The default is the same as in `\Swift_Transport_EsmtpTransport::$params`

* Corrected default

* Update mail.php

Co-authored-by: Graham Campbell <[email protected]>
Co-authored-by: Taylor Otwell <[email protected]>
  • Loading branch information
3 people authored Mar 15, 2020
1 parent 52f69fc commit d82bf97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
],

'ses' => [
Expand Down

0 comments on commit d82bf97

Please sign in to comment.