:ExportMessage()
Class
Syntax
:ExportMessage( cFilename, [hMessage] ) -> lSuccess
Parameters
|
|
cFilename |
File to export message to. |
|
|
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 :ExportMessage() method writes the specified message header and body to the file. If the file does not exist, it will be created. If it does exist, it will be overwritten with the contents of the message.
See Also
:CreateMessage(), :ImportMessage(), :SetExportOptions()