:ImportMessage()
Class
Syntax
:ImportMessage( cFilename, [hMessage] ) -> lSuccess
Parameters
|
|
cFilename |
File name to import, replaecing current message |
|
|
hMessage |
Optional. Handle of the message to act on. Provided during :CreateMessage() operation |
Return
Logical indicating Success.
Returns .T. if the operation succeeds, otherwise returns .F.
Description
The :ImportMessage() method reads the specified file and replaces the current message with it's contents.
This function will delete the contents of the current message before importing the new message from the specified file.
See Also
:AttachFile(), :ExportMessage(), :ExtractFile(), :ParseBuffer()