File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
11
11
### Added
12
12
- Search for messages by message-Id
13
13
- Search for messages by In-Reply-To
14
+ - Default folder locations added
14
15
15
16
### Affected Classes
16
17
- [ Query::class] ( src/Query/Query.php )
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ Detailed [config/imap.php](src/config/imap.php) configuration:
114
114
- ` fetch_flags ` &mdash ; If set to ` false ` all messages will be fetched without any flags
115
115
- ` message_key ` &mdash ; Message key identifier option
116
116
- ` fetch_order ` &mdash ; Message fetch order
117
+ - ` common_folders ` &mdash ; Default folder locations and paths assumed if none is provided
117
118
- ` open ` &mdash ; special configuration for imap_open()
118
119
- ` DISABLE_AUTHENTICATOR ` &mdash ; disable authentication properties.
119
120
- ` decoder ` &mdash ; Currently only the message and attachment decoder can be set
Original file line number Diff line number Diff line change 104
104
| -Fetch order
105
105
| 'asc' - Order all messages ascending (probably results in oldest first)
106
106
| 'desc' - Order all messages descending (probably results in newest first)
107
+ | -Common folders
108
+ | Default folder locations and paths assumed if none is provided
107
109
| -Open IMAP options:
108
110
| DISABLE_AUTHENTICATOR - Disable authentication properties.
109
111
| Use 'GSSAPI' if you encounter the following
122
124
'fetch_flags ' => true ,
123
125
'message_key ' => 'list ' ,
124
126
'fetch_order ' => 'asc ' ,
127
+ 'common_folders ' => [
128
+ "root " => "INBOX " ,
129
+ "junk " => "INBOX/Junk " ,
130
+ "draft " => "INBOX/Drafts " ,
131
+ "sent " => "INBOX/Sent " ,
132
+ "trash " => "INBOX/Trash " ,
133
+ ],
125
134
'open ' => [
126
135
// 'DISABLE_AUTHENTICATOR' => 'GSSAPI'
127
136
],
You can’t perform that action at this time.
0 commit comments