Export (0) Print
Expand All
Expand Minimize

AddAttachments

Commerce Server 2002

Use this component to add attachments to a direct mail message.

Although the component appears as AddAttachments in the Pipeline Editor, its ProgID is Commerce.DMLAddAttachments.

Intended use: Direct Mailer pipeline, Compose E-mail stage.

Configuration Values

None.

Values Read

The AddAttachments component reads the following values from the indicated dictionaries.

KeyDictionaryDescription
rcp_bypassOrderBoolean. The component bypasses (skips) processing if True.
cdo_resultOrderThe result code (an HRESULT) from the most recent Collaboration Data Objects (CDO) operation.
attachmentsOrderA SimpleList of Uniform Resource Locators (URL) pointing to attachments.
cdo_messageContextA reference to the CDO message object (CDO.Message).

Values Written

The AddAttachments component writes the following values to the Order dictionary.

KeyDescription
cdo_resultThe result code (an HRESULT) from the most recent CDO operation.
cdo_errorOptional. An error string from the most recent CDO operation, if any. NULL if there is no error.

Remarks

The AddAttachments component uses the CDO for Microsoft Windows 2000 to add the attachments to the message.

The component skips processing if the bypass flag (rcp_bypass) is True or if the last CDO operation did not succeed (cdo_result not equal to S_OK).

The message body should already exist before this component runs.

See Also

ComposeDMLMessage

CreateUPMCookie

SendPrecomposedMessage

ThrottleDMLPerformance

VerifyMessageBody

VerifyRecipientData

Copyright © 2005 Microsoft Corporation.
All rights reserved.
Show:
© 2014 Microsoft