Import a new message from the specified text file.
Syntax
object.ImportMessage( FileName )
The ImportMessage method syntax has the following
parts:
| Part |
Description |
| object
|
An object expression that
evaluates to an InternetMail object. |
| filename
|
A string which specifies the name
of the file to import from. |
Return Type
Integer
Remarks
The ImportMessage method replaces the current message
with the message contained in the specified text file. Note that
calling this method will result in the Bcc property value
being cleared.
This method will return a value of zero if the action was
successful. Otherwise, a non-zero error code is returned which
indicates the cause of the failure.
See Also
Bcc Property, AttachFile Method, ExportMessage Method, ExtractFile Method
|