Dart Smtp, Pop, Imap Controls
Add Method
Mailbox Object to add to the collection and create on the server. The mailbox Name property is used when creating on the server.
Description
Create a mailbox.
Syntax
Visual Basic
Public Sub Add( _
   ByVal Mailbox As Mailbox _
) 
Parameters
Mailbox
Mailbox Object to add to the collection and create on the server. The mailbox Name property is used when creating on the server.
Remarks
This method adds a Mailbox object to the local collection and creates the mailbox on the server. If the mailbox already exists, a runtime error is generated. The mailbox is added to the local collection if the command succeeds; otherwise, the mailbox is not added.

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