Pop Object : Logout Method |
Visual Basic |
---|
Public Sub Logout() |
Call this method to end a session. Successful execution of this method permanently removes any "marked-for-delete" messages from the server, ends the session, and causes the server to terminate the connection. Failure to use this method causes the server to clear any pending "marked-for-delete" message flags.
The Message.Attribute(msgNumber) property of each message is set to 0.
This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):