Is there a way to remove emails from IMAP server using IMAP ActiveX control? I already look through the classes and methods, but can't find until now.
asked Feb 07 '13 at 12:19
I found here that IMAP works with flags for messages. So to delete one of them, its just flag a message as "Deleted" and expunge it.
To do this, I use SetFlag method (or SetFlags for a MessageSet) from ChilkatImap class to flag the message. After that, in same class, Expunge method (or ExpungAndClose in some case)
answered Feb 07 '13 at 12:51