Skip to content

Commit d82bf97

Browse files
mfnGrahamCampbelltaylorotwell
authored
[7.x] Allow configuring the timeout for the smtp driver (laravel#5262)
* 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 <GrahamCampbell@users.noreply.github.com> Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent 52f69fc commit d82bf97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/mail.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
4242
'username' => env('MAIL_USERNAME'),
4343
'password' => env('MAIL_PASSWORD'),
44+
'timeout' => null,
4445
],
4546

4647
'ses' => [

0 commit comments

Comments
 (0)