Skip to content

Commit 4688de8

Browse files
authored
Merge pull request #61 from DirectoryTree/bug-60
Fix StartTLS match
2 parents 9b738f1 + 9aa95ec commit 4688de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connection/ImapConnection.php

Lines changed: 1 addition & 1 deletion
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)