Dart Smtp, Pop, Imap Controls
Add Method
Message Object to add to the collection.
Defaults to the end of the collection. Specifies where in the collection the Message should be inserted.
Description
Add a message to the collection.
Syntax
Visual Basic
Public Sub Add( _
   ByVal Message As Message, _
   Optional ByVal Index As Long = 0 _
) 
Parameters
Message
Message Object to add to the collection.
Index
Defaults to the end of the collection. Specifies where in the collection the Message should be inserted.
Remarks
An object may be explicitly inserted at any point in the collection through use of the Index parameter. If the Index parameter is not specified, then Message will be added to the end of the collection.

Error Codes

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

See Also

Messages Collection  | Messages Members


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