:SetExportOptions()
Class
Syntax
:SetExportOptions() -> lSuccess
Parameters
|
|
nOptions |
Export Options to set. See table below. |
|
|
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 :SetExportOptions() method specifies a bitmask that describes current message export options.
By default, the Received and Return-Path headers are not exported. In addition, the order of the headers in an exported message is undefined. This is reasonable behavior for most mail clients, but may not be appropriate for applications that implement or extend a mail server, and in which the MailMessage library is used.
The value for nOptions is a combination of the following values:
|
Constant |
Value |
Description |
|
MIME_EXPORT_OPTIONS_DEFAULT |
0 |
Received and Return-Path headers are not exported. The order of the headers in an exported message is undefined. |
|
MIME_EXPORT_OPTIONS_ALL |
1 |
Export all headers, including the Trace Information headers such as Received and Return-Path. |
|
MIME_EXPORT_OPTIONS_KEEP_ORDER |
2 |
Export headers in the order in which they were imported. If this option is used, set this property before importing the message. |
See Also
:ExportMessage(), :ImportMessage(), :GetExportOptions()