AddAttachments
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.
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 | A reference to the CDO message object (CDO.Message). |
Values Written
The AddAttachments 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. |
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.