Mail Document Option ID Constants identifies an optional
feature to enable or disable in the mailDocument interface.
MailDocOpt_Auto
(0) – Allows
automatic processing of a message based on information in the message
headers.If this option is
disabled, the message will be read "as is" without processing of any kind.For details on how the message is processed please see the mailDocument.Process
method under the Remarks section. Default is enabled (1).
MailDocOpt_EnableAS2
(2) – If disabled, this option prevents any automatic processing for an
EDIINT-AS2 type message.Default
is enabled (1).
MailDocOpt_EnableAS3
(3) – If disabled, this option prevents any automatic processing for an EDIINT-AS3 type message. Default is
enabled (1).
MailDocOpt_EnableEdi
(4) – If disabled, this option prevents any automatic processing of an EDI document in the message. That is, the EDI document will NOT be processed even if the "Content-Type" header contains the following value:
Application/EDI-X12
Application/EDIFACT
Application/EDI-Consent
MailDocOpt_CanonicalizeCrLf
(5) – This option is relevant only if MailDocOpt_Canonicalize is
enabled. If this option is enabled, all single CR and LF characters
are canonicalized. See Canonicalization.
Default is
enabled (1).
MailDocOpt_Canonicalize
(6) – If this option is enabled then the document is canonicalized.
See Canonicalization. Default is
enabled (1).
MailDocOpt_UseCertStoreOnly
(7) – If enabled, the certificate required for processing the message will
be located only in the system certificate store only. If disabled, the
certificate is first located in the system certificate store first and, if
not found, will then be searched within the message. Default is
disabled (0).
MailDocOpt_CalculateMdnMic
(8) – If enabled, the MIC (hash) of the MDN is calculated and placed in
the "Received-Content-MIC" header of the MDN. See Message
Disposition Notification (MDN). If disabled, MIC is not calculated
and the "Received-Content-MIC" is not created. Default is
enabled (1).
MailDocOpt_EncodeQP_All
(71) – If enabled, all characters are encoded including the TAB and SPACE
regardless of their optional settings: MailDocOpt_EncodeQP_Tab or MailDocOpt_EncodeQP_Space,
respectively. Default is disabled (0).
MailDocOpt_EncodeQP_Tab
(72) – If enabled, the TAB (0x9) is encoded. If disabled, the TAB is not
encoded unless MailDocOpt_EncodeQP_All has been enabled in which case
it will be encoded. Default is
enabled (0).
MailDocOpt_EncodeQP_Space
(73) – If enabled, the SPACE (0x20) is encoded . If disabled, the SPACE is
not encoded unless MailDocOpt_EncodeQP_All has been enabled in which
case it will be encoded. Default is
enabled (0).
The optional feature is enabled if it has a value of 1; disabled if the
option has a value of 0.