|
BOOL GetExportOptions( |
|
LPDWORD lpdwOptions |
|
); |
The GetExportOptions method returns a bitmask that
describes the default message export options.
Parameters
- lpdwOptions
- Pointer to mask of attribute options. The mask is a combination
of the following values:
Constant |
Description |
MIME_OPTION_DEFAULT |
The default export options. The headers for the message are
written out in a specific consistent order, with custom headers
written to the end of the header block regardless of the order
in which they were set or imported from another message. If the
message contains Bcc, Received, Return-Path, Status or
X400-Received header fields, they will not be exported. |
MIME_OPTION_KEEPORDER |
The original order in which the message header fields were
set or imported are preserved when the message is
exported. |
MIME_OPTION_ALLHEADERS |
All headers, including the Bcc, Received, Return-Path,
Status and X400-Received header fields will be exported.
Normally these headers are not exported because they are only
used by the mail transport system. This option can be useful
when exporting a message to be stored on the local system, but
should not be used when exporting a message to be delivered to
another user. |
MIME_OPTION_NOHEADERS |
When exporting a message, the main header block will not
be included. This can be useful when creating a multipart
message for services which expect MIME formatted data, such
as HTTP POST requests. This option should never be used for
email messages being submitted using SMTP. |
Return Value
If the method succeeds, the return value is non-zero. If the
method fails, the return value is 0. To get extended error
information, call GetLastError.
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csmsgv10.lib
Unicode: Implemented as Unicode and ANSI versions.
See Also
ExportMessage,
ImportMessage,
SetExportOptions
|
|