Skip to content

Commit 7552dcb

Browse files
committed
Default config updated
1 parent 3226d07 commit 7552dcb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/config/imap.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@
113113
| Default TRUE - Set to FALSE to prevent the usage of \imap_rfc822_parse_headers().
114114
| See https://github.com/Webklex/php-imap/issues/115 for more information.
115115
| -Debug enable to trace communication traffic
116+
| -UID cache enable the UID cache
117+
| -Fallback date is used if the given message date could not be parsed
116118
| -Boundary regex used to detect message boundaries. If you are having problems with empty messages, missing
117119
| attachments or anything like this. Be advised that it likes to break which causes new problems..
118120
| -Message key identifier option
@@ -148,6 +150,8 @@
148150
'soft_fail' => false,
149151
'rfc822' => true,
150152
'debug' => false,
153+
'uid_cache' => true,
154+
// 'fallback_date' => "01.01.1970 00:00:00",
151155
'boundary' => '/boundary=(.*?(?=;)|(.*))/i',
152156
'message_key' => 'list',
153157
'fetch_order' => 'asc',
@@ -168,6 +172,15 @@
168172
]
169173
],
170174

175+
/*
176+
|--------------------------------------------------------------------------
177+
| Available flags
178+
|--------------------------------------------------------------------------
179+
|
180+
| List all available / supported flags. Set to null to accept all given flags.
181+
*/
182+
'flags' => ['recent', 'flagged', 'answered', 'deleted', 'seen', 'draft'],
183+
171184
/*
172185
|--------------------------------------------------------------------------
173186
| Available events

0 commit comments

Comments
 (0)