Dart Smtp, Pop, Imap Controls
Load Method
Contains the fully qualified filename to be loaded.
Determines how much of the message is to be read from the file. Defaults to msgMessage.
Description
Load a message from disk.
Syntax
Visual Basic
Public Sub Load( _
   ByVal File As String, _
   Optional ByVal Segment As SegmentConstants = msgMessage _
) 
Parameters
File
Contains the fully qualified filename to be loaded.
Segment
ValueDescription
msgHeaderPerform the operation on the header of the message.
msgMessagePerform the operation on the complete message.
Determines how much of the message is to be read from the file. Defaults to msgMessage.
Remarks

This method senses the format of the file (encoded message or object) and initializes the Message Object as the file contents are read. See the Store method.

Error Codes

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

See Also

Message Object  | Message Members


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