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
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,6 +193,8 @@ You can define your accounts inside the [config/imap.php](src/config/imap.php) f
193
193
| copy | string $mailbox, int $options || Copy the current Messages to a mailbox |
194
194
| move | string $mailbox, int $options || Move the current Messages to a mailbox |
195
195
| moveToFolder | string $mailbox || Move the Message into an other Folder |
196
+
| setFlag | string or array $flag | boolean | Set one or many flags |
197
+
| unsetFlag | string or array $flag | boolean | Unset one or many flags |
196
198
| hasTextBody ||| Check if the Message has a text body |
197
199
| hasHTMLBody ||| Check if the Message has a html body |
198
200
| getTextBody || string | Get the Message text body |
@@ -202,6 +204,8 @@ You can define your accounts inside the [config/imap.php](src/config/imap.php) f
202
204
| getUid || string | Get the current UID |
203
205
| getFetchOptions || string | Get the current fetch option |
204
206
| getMsglist || integer | Get the current message list |
207
+
| getHeaderInfo || object | Get the current header_info object |
208
+
| getHeader || string | Get the current raw header |
205
209
| getMessageId || integer | Get the current message ID |
206
210
| getMessageNo || integer | Get the current message number |
207
211
| getSubject || string | Get the current subject |
@@ -233,6 +237,11 @@ You can define your accounts inside the [config/imap.php](src/config/imap.php) f
233
237
| Use of undefined constant FT_UID - assumed 'FT_UID' (...) | Please take a look at [#14](https://github.com/Webklex/laravel-imap/issues/14)[#30](https://github.com/Webklex/laravel-imap/issues/30)|
234
238
| DateTime::__construct(): Failed to parse time string (...) | Please report any new invalid timestamps to [#45](https://github.com/Webklex/laravel-imap/issues/45)|
235
239
| imap_open(): Couldn't open (...) Please log in your web browser: (...) | In order to use IMAP on some services (such as Gmail) you need to enable it first. [Google help page](https://support.google.com/mail/answer/7126229?hl=en)|
240
+
| imap_headerinfo(): Bad message number | This happens if no Message number is available. Please make sure Message::parseHeader() has run before |
241
+
242
+
## Milestones & upcoming features
243
+
* Integrate a search functionality base on [imap_search()](http://php.net/manual/en/function.imap-search.php) but a bit easier..
244
+
* Message pagination and limited message fetching (thanks to @RhRU for the suggestion and first mockup)
0 commit comments