Skip to content

Commit 9525772

Browse files
author
Malte Goldenbaum
committed
New config parameter added
Typo fixed
1 parent 69aa58e commit 9525772

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
66

77
## [UNRELEASED]
88
-Wrong documentation removed
9+
-New config parameter added
10+
-Typo fixed
911

1012
## [1.0.2.3] - 2017-03-09
1113
### Added
1214
-Code commented
1315
-A whole bunch of functions and features added. To many to mention all of them ;)
14-
-Readme file extened
16+
-Readme file extended
1517

1618
### Changes
1719
\Webklex\IMAP\Client

src/IMAP/Client.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ public function connect($attempts = 3)
172172
$this->username,
173173
$this->password,
174174
$this->getOptions(),
175-
$attempts
175+
$attempts,
176+
config('imap.options.open')
176177
);
177178
} catch (\ErrorException $e) {
178179
$message = $e->getMessage().'. '.implode("; ", imap_errors());

src/config/imap.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,8 @@
7373
*/
7474
'options' => [
7575
'fetch' => FT_UID,
76+
'open' => [
77+
// 'DISABLE_AUTHENTICATOR' => 'GSSAPI'
78+
]
7679
]
7780
];

0 commit comments

Comments
 (0)