UIDVALIDITY
UIDVALIDITY
The class contains functionality for maintaining state for a single IMAP folder, and generating server deltas.
setChanges(array $messages, array $flags = array(), array $categories = array(), boolean $resetMinUid = false)
Set message changes.
array | $messages | An array of message UIDs. |
array | $flags | A hash of message read flags, keyed by UID. |
array | $categories | A hash of custom message flags, keyed by UID. @since 2.17.0 |
boolean | $resetMinUid | If true, reset the minimum UID. Should be used when FilterType has widened and messages older than originally selected are being returned. @since 2.24.0 |