Skip to content

Commit cd8c1fc

Browse files
committed
Fix starttls docs
#11
1 parent 57d1210 commit cd8c1fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ $mailbox = new Mailbox([
7070
]);
7171
```
7272

73-
To connect using plain (without encryption) or starttls, set the `encryption` option to `null`:
73+
To connect using plain (without encryption) or starttls, set the `encryption` option to `starttls`:
7474

7575
```php
7676
$mailbox = new Mailbox([
7777
'port' => 143,
78-
'encryption' => null,
78+
'encryption' => 'starttls',
7979
'username' => '...',
8080
'password' => '...',
8181
'host' => 'imap.example.com',

0 commit comments

Comments
 (0)