| | 131 | * Get a list of new messages in the selected folder. |
| | 132 | * On the first invocation, it will return the most recent messages |
| | 133 | * up to the limit configured in the global configuration. |
| | 134 | * On subsequent invocations, if the underlying protocol supports it, |
| | 135 | * this method should return all new messages that have entered the |
| | 136 | * mailbox since. Otherwise, it will behave the same as it |
| | 137 | * did on the first invocation. |
| | 138 | * |
| | 139 | * @return List of message envelopes |
| | 140 | * @throw IOException on I/O errors |
| | 141 | * @throw MailException on protocol errors |
| | 142 | */ |
| | 143 | public abstract FolderMessage[] getNewFolderMessages() throws IOException, MailException; |
| | 144 | |
| | 145 | /** |