The OnError event occurs when a method fails because the arguments are invalid or when a connection with the IMAP server can not be established The table below lists all the possible error codes delivered by this event. Already performing action. Unable to perform action. Invalid Timeout value. Server was unable to perform action.
Invalid connection handle.
A connection must be established before performing this action. Action has been aborted and connection has been closed. A mailbox must be selected before performing this action. Unable to send command to IMAP server. Invalid buffer size specified in the DirectBufSize property.