how to search emails from outlook without select folder or subfolder with imap?

0 votes
asked Jun 21 by shiva krishna (120 points)

Hi,
imap.SelectFolder("INBOX");

I need to search emails without using selectfolder or sub folder.
Is there any answer about this.

Thanks

1 Answer

0 votes
answered Jun 21 by Lukas Pokorny (123,810 points)

Hi,

Unfortunately, the IMAP protocol only makes it possible to search within a selected folder. There is an IMAP extension that enhances IMAP search capabilities, but it never gained widespread server support, and it's not supported by Rebex IMAP at the moment.

...