Unlike the POP Control, the IMAP Control does not delete all messages marked for deletion upon logout. The Purge method must be called to delete these messages.
Error Codes
This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):