You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| setConfig | array $config | self | Set the Client configuration. Take a look at `config/imap.php` for more inspiration. |
145
+
| setReadOnly | bool $readOnly | self | Set read only property and reconnect if it's necessary. |
146
+
| isReadOnly || bool | Determine if connection is in read only mode. |
147
+
| isConnected || bool | Determine if connection was established. |
148
+
| checkConnection ||| Determine if connection was established and connect if not. |
149
+
| connect | int $attempts || Connect to server. |
150
+
| disconnect ||| Disconnect from server. |
151
+
| getFolders | bool $hierarchical, string or null $parent_folder | array | Get folders list. If hierarchical order is set to true, it will make a tree of folders, otherwise it will return flat array. |
152
+
| openFolder | \Webklex\IMAP\Folder $folder || Open a given folder. |
153
+
| createFolder | string $name || Create a new folder. |
154
+
| getMessages | \Webklex\IMAP\Folder $folder, string $criteria | array | Get messages from folder. |
155
+
| getQuota || array | Retrieve the quota level settings, and usage statics per mailbox |
156
+
| getQuotaRoot | string $quota_root | array | Retrieve the quota settings per user |
157
+
| countMessages || int | Gets the number of messages in the current mailbox |
158
+
| countRecentMessages || int | Gets the number of recent messages in current mailbox |
159
+
| getAlerts || array | Returns all IMAP alert messages that have occurred |
160
+
| getErrors || array | Returns all of the IMAP errors that have occurred |
161
+
| getLastError || string | Gets the last IMAP error that occurred during this page request |
162
+
| expunge || bool | Delete all messages marked for deletion |
163
+
| checkCurrentMailbox || object | Check current mailbox |
0 commit comments