다음을 통해 공유


AddAttachments

Use the AddAttachments pipeline component to add attachments to a direct mail message.

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

Values Read

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

Key

Dictionary

Description

rcp_bypass

Order

Boolean. The component bypasses (skips) processing if True.

cdo_result

Order

The result code (an HRESULT) from the most recent Collaboration Data Objects (CDO) operation.

attachments

Order

A SimpleList of Uniform Resource Locators (URL) pointing to attachments.

cdo_message

Context

Optional. A reference to the CDO message object (CDO.Message).

Values Written

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

Key

Description

cdo_result

The result code (an HRESULT) from the most recent CDO operation.

cdo_error

Optional. An error string from the most recent CDO operation, if any. NULL if there is no error.

cdo_message (Context dictionary)

A reference to the CDO message object (CDO.Message).

Remarks

The AddAttachments pipeline 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

Other Resources

ComposeDMLMessage

CreateUPMCookie

SendPrecomposedMessage

ThrottleDMLPerformance

VerifyMessageBody

VerifyRecipientData