Dart Smtp, Pop, Imap Controls
Remove Method
Long index or String. Specifies the mailbox name to remove.
Description
Remove a mailbox.
Syntax
Visual Basic
Public Sub Remove( _
   ByVal Index As Variant _
) 
Parameters
Index
Long index or String. Specifies the mailbox name to remove.
Remarks
This method removes the corresponding Mailbox Object from the collection and deletes the mailbox from the server. The mailbox is removed from the local collection if the command succeeds; otherwise, it is not removed from the collection.

Error Codes

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

See Also

Mailboxes Collection  | Mailboxes Members


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