Subject: Set the maximum messages for an IMAPMessageCollection
Date: 2011-12-21 23:23:51
From: Andy Weeks
Source: set-maximum-messages-imapmessagecollection
----------------------------------------------------------------------

We want to download messages in a folder which are older than X days.  That part seems easy with IMAPCrition and IMAPMessageCollection.  However, we only want to return up to a maximum number at a time.  Otherwise, it may have to pull 10,000+ messages.  I know in the BounceInspector, you can set MaxMessages.  However, I can't figure out how to do it when trying to pull messages based on criteria.

----------------------------------------------------------------------

Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.

Back to ComponentPro Q&A Forum Index