Dart Smtp, Pop, Imap Controls
Delete Method
Specifies the message numbers to remove. The default is all messages. If provided, this string must indicate one or more values in the range from 1 to Count (for example, "1:12, 15, 18").
Description
Mark one or more messages for removal upon normal completion of the session.
Syntax
Visual Basic
Public Sub Delete( _
   Optional ByVal MsgSet As String _
) 
Parameters
MsgSet
Specifies the message numbers to remove. The default is all messages. If provided, this string must indicate one or more values in the range from 1 to Count (for example, "1:12, 15, 18").
Remarks

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".

Error Codes

This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):

See Also

Pop Object  | Pop Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic