Dart Smtp, Pop, Imap Controls
Undelete Method
Specifies the message numbers to unmark for deletion. The default is all messages.
Description
Unmark one or more messages previously marked for deletion.
Syntax
Visual Basic
Public Sub Undelete( _
   Optional ByVal MsgSet As String _
) 
Parameters
MsgSet
Specifies the message numbers to unmark for deletion. The default is all messages.
Remarks

An unmarked message is not deleted when the Purge method is called.

If provided, MsgSet specifies one or more message numbers in the range from 1 to Count. Each number should be separated with a comma. A range of numbers may be indicated with a lower and upper number separated with a colon. For example, a message set of "1, 5:7, 12" will retrieve 5 messages: 1, 5, 6, 7, and 12.

Error Codes

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

See Also

Mailbox Object  | Mailbox Members


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