|
Summary
External message.
Syntax
Boolean External ()
Description
If the application is creating an external message, then the External method can be
used to set the MessageType property to MESSAGE_EXTERNAL. An external message is a MIME
message whose ContentType is "message" and Subtype is "external-body".
This is generally used to reference an external data source. The actual data is not
included in the body part.
The OnExternal event will be fired to obtain the information for the external message.
The OnExternal event will be fired only if the MessageType property is set to
MESSAGE_EXTERNAL.
If the external message is part of a multipart message, then the External method is
used to set the MessageType property inside the OnSetHeader (or deprecated OnHeader) event
for that attachment and then reset to MESSAGE_NONE immediately. The OnSetHeader event will
occur in response to the CreateMessage method being called (the OnHeader event will occur
in response to the deprecated Create or CreateX method being called).
The External method returns True if successful; otherwise, it returns False. Calling
this method is equivalent to setting the MessageType property to MESSAGE_EXTERNAL.
Example
Result = Mime.External ()
|