Skip to content

Commit 7ff711f

Browse files
committed
Missing default config parameter added #346
1 parent 3950cc2 commit 7ff711f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

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

77
## [UNRELEASED]
88
### Fixed
9-
- Default account might not be set correctly if set manually.
9+
- Missing default config parameter added #346
1010

1111
### Added
1212
- NaN

src/config/imap.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
| -Delimiter (optional):
9090
| This option is only used when calling $oClient->
9191
| You can use any supported char such as ".", "/", (...)
92+
| -Fetch option:
93+
| IMAP::FT_UID - Message marked as read by fetching the message body
94+
| IMAP::FT_PEEK - Fetch the message without setting the "seen" flag
9295
| -Body download option
9396
| Default TRUE
9497
| -Flag download option
@@ -114,6 +117,7 @@
114117
*/
115118
'options' => [
116119
'delimiter' => '/',
120+
'fetch' => \Webklex\PHPIMAP\IMAP::FT_UID,
117121
'fetch_body' => true,
118122
'fetch_flags' => true,
119123
'message_key' => 'list',

0 commit comments

Comments
 (0)