@@ -127,6 +127,7 @@ Detailed [config/imap.php](src/config/imap.php) configuration:
127127 - ` fetch_order ` &mdash ; Message fetch order
128128 - ` open ` &mdash ; special configuration for imap_open()
129129 - ` DISABLE_AUTHENTICATOR ` &mdash ; Disable authentication properties.
130+ - ` decoder ` &mdash ; Currently only the message subject and attachment name decoder can be set
130131
131132## Usage
132133#### Basic usage example
@@ -283,6 +284,7 @@ Available search criteria:
283284- ` FROM ` "string" &mdash ; match messages with "string" in the From: field
284285- ` KEYWORD ` "string" &mdash ; match messages with "string" as a keyword
285286- ` NEW ` &mdash ; match new messages
287+ - ` NOT ` &mdash ; not matching
286288- ` OLD ` &mdash ; match old messages
287289- ` ON ` "date" &mdash ; match messages with Date: matching "date"
288290- ` RECENT ` &mdash ; match messages with the \\ RECENT flag set
@@ -494,9 +496,9 @@ if you're just wishing a feature ;)
494496| createFolder | string $name | boolean | Create a new folder. |
495497| renameFolder | string $old_name, string $new_name | boolean | Rename a folder. |
496498| deleteFolder | string $name | boolean | Delete a folder. |
497- | getMessages | Folder $folder, string $criteria, bool $fetch_body, bool $fetch_attachment, bool $fetch_flags | MessageCollection | Get messages from folder. |
498- | getUnseenMessages | Folder $folder, string $criteria, bool $fetch_body, bool $fetch_attachment, bool $fetch_flags | MessageCollection | Get Unseen messages from folder. |
499- | searchMessages | array $where, Folder $folder, $fetch_options, bool $fetch_body, string $charset, bool $fetch_attachment, bool $fetch_flags | MessageCollection | Get specific messages from a given folder. |
499+ | getMessages | Folder $folder, string $criteria, bool $fetch_body, bool $fetch_attachment, bool $fetch_flags | MessageCollection | Get messages from folder. |
500+ | getUnseenMessages | Folder $folder, string $criteria, bool $fetch_body, bool $fetch_attachment, bool $fetch_flags | MessageCollection | Get Unseen messages from folder. |
501+ | searchMessages | array $where, Folder $folder, $fetch_options, bool $fetch_body, string $charset, bool $fetch_attachment, bool $fetch_flags | MessageCollection | Get specific messages from a given folder. |
500502| getQuota | | array | Retrieve the quota level settings, and usage statics per mailbox |
501503| getQuotaRoot | string $quota_root | array | Retrieve the quota settings per user |
502504| countMessages | | int | Gets the number of messages in the current mailbox |
@@ -506,6 +508,8 @@ if you're just wishing a feature ;)
506508| getLastError | | string | Gets the last IMAP error that occurred during this page request |
507509| expunge | | bool | Delete all messages marked for deletion |
508510| checkCurrentMailbox | | object | Check current mailbox |
511+ | setTimeout | string or int $type, int $timeout | boolean | Set the timeout for certain imap operations: 1: Open, 2: Read, 3: Write, 4: Close |
512+ | getTimeout | string or int $type | int | Check current mailbox |
509513
510514### [ Message::class] ( src/IMAP/Message.php )
511515| Method | Arguments | Return | Description |
@@ -578,6 +582,7 @@ if you're just wishing a feature ;)
578582| answered | | WhereQuery | Select answered messages |
579583| deleted | | WhereQuery | Select deleted messages |
580584| new | | WhereQuery | Select new messages |
585+ | not | | WhereQuery | Not select messages |
581586| old | | WhereQuery | Select old messages |
582587| recent | | WhereQuery | Select recent messages |
583588| seen | | WhereQuery | Select seen messages |
0 commit comments