We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

List message with Attachments only with ImapClient

Is it possible to list only mails having attachments with ImapClient?
Currently I need to “FetchMessage” and check Attachments count.

Hi Paresh,

This feature is not supported at the moment. We have logged it as an enhancement with id: EMAILNET-35078 for further consideration by our Product team. Once there is some information available about the availability of this functionality, we’ll update you here via this thread.

Hi Paresh,

We have further investigated this requirement in detail and are afraid to share that this can’t be achieved using the IMAP protocol. Thus, we are not able to provide this feature using the API. If you have any other query related to the API, please feel free to write to us.