Is there any way to search messages on IMAP server, using imap_search function. According to php manual, imap_search allow only limited number of search option, and search by UID is not between them:
http://us.php.net/manual/en/function.imap-search.php
So, is there a way around, to get messages based on UID(higher then provided UID). This should be supported since IMAP4 protocol revision(i think since year 2003).
I am sure you have gone thru an extensive search and finally landed here. Lets face it, its not possible; but there can be workaround for the feature.
Maybe you can utilise code similar to this:
Be aware that this can cause Maximum Execution Time so you can take in a for loop to do the job with specific number of iteration.