Pop Object : Delete Method |
Visual Basic |
---|
Public Sub Delete( _ Optional ByVal MsgSet As String _ ) |
The messages specified by MsgSet are "marked-for-delete". Message removal occurs when the session is gracefully ended using Logout. If Logout is not used all messages marked for deletion are "unmarked".
Call the Reset method to unmark messages "marked-for-delete".
This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):