Skip to content

Commit f182552

Browse files
committed
New methods documented
1 parent 68c83de commit f182552

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ You can define your accounts inside the [config/imap.php](src/config/imap.php) f
193193
| copy | string $mailbox, int $options | | Copy the current Messages to a mailbox |
194194
| move | string $mailbox, int $options | | Move the current Messages to a mailbox |
195195
| 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 |
196198
| hasTextBody | | | Check if the Message has a text body |
197199
| hasHTMLBody | | | Check if the Message has a html body |
198200
| 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
202204
| getUid | | string | Get the current UID |
203205
| getFetchOptions | | string | Get the current fetch option |
204206
| getMsglist | | integer | Get the current message list |
207+
| getHeaderInfo | | object | Get the current header_info object |
208+
| getHeader | | string | Get the current raw header |
205209
| getMessageId | | integer | Get the current message ID |
206210
| getMessageNo | | integer | Get the current message number |
207211
| 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
233237
| 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) |
234238
| DateTime::__construct(): Failed to parse time string (...) | Please report any new invalid timestamps to [#45](https://github.com/Webklex/laravel-imap/issues/45) |
235239
| 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)
236245

237246
## Change log
238247

0 commit comments

Comments
 (0)