Skip to content

Commit 9aa95ec

Browse files
committed
Handle starttls
1 parent 9b738f1 commit 9aa95ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connection/ImapConnection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ protected function getDefaultSocketOptions(string $transport, array $proxy = [],
124124

125125
$key = match ($transport) {
126126
'ssl', 'tls' => 'ssl',
127-
'tcp' => 'tcp',
127+
'starttls', 'tcp' => 'tcp',
128128
};
129129

130130
if (in_array($transport, ['ssl', 'tls'])) {

0 commit comments

Comments
 (0)