Flags a message for deletion from the current mailbox.
This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.
This method only flags the message for deletion. The message is not actually deleted until the client disconnects from the server, however the deleted message will no longer be accessible to the client. To prevent deleted messages from actually being removed from the mailbox, call the Reset method.
InternetMail Class | SocketTools Namespace