Message Object : Load Method |
Visual Basic |
---|
Public Sub Load( _ ByVal File As String, _ Optional ByVal Segment As SegmentConstants = msgMessage _ ) |
Value | Description |
---|---|
msgHeader | Perform the operation on the header of the message. |
msgMessage | Perform the operation on the complete message. |
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.
This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):