smiley22 / S22.Imap

A free, easy-to-use and well-documented .NET library component for communicating with IMAP servers
http://smiley22.github.com/S22.Imap/Documentation/
MIT License
211 stars 115 forks source link

ImapClient.Search server returns only partial results #129

Closed scttstrck closed 8 years ago

scttstrck commented 8 years ago

I am trying to loop through all messages in one mailbox. I looked at the examples and am using a call to ImapClient.Search( SearchCondition.All, folder) where folder contains the mailbox I want to use. The server seems to limit the search results amount to 4000 at one time. Is there a way to get the next batch of 4000 somehow? Some folders contain up to 18000 messages.