Share via


VerifyRecipientData

Use this component to check the data about the recipient of a direct mail message.

Intended use: Direct Mailer pipeline, Preprocess Recipient stage.

Values Read

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

Key

Dictionary

Description

rcp_bypass

Order

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

rcp_email

Order

The e-mail address of the recipient.

rcp_formatting

Order

Numeric. The format for the message. The options are:

  • 0 - Default formatting

  • 1 - Plain text

  • 2 - MIME

  • 3 - MHTML

This key overrides the default format.

default_formatting

Context

Optional. Numeric. The default formatting for the message. The values are:

  • 0 - Default formatting

  • 1 - Plain text

  • 2 - MIME

  • 3 - MHTML

Values Written

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

Key

Description

rcp_bypass

Boolean. This key is set to True if there is a problem with the recipient data. This will make subsequent components skip or bypass this recipient.

Remarks

The VerifyRecipientData component checks multiple values in the pipeline dictionaries to verify data about the recipient. If any one of the checks fails, the component sets the rcp_bypass key to True so that subsequent components in the pipeline skip the recipient.

The component performs the following checks:

  • Tests the rcp_bypass key to see if it is True on entry. If True, the component does nothing further.

  • Ensures that the e-mail address key (rcp_email) is present and has a value.

  • Tests the formatting code (rcp_formatting) to see if it is empty. If empty, the component uses the default formatting.

  • Tests the formatting against text, MIME, or MHTML.

The VerifyRecipientData component does not check any of the personalization information. The direct mail sender must verify this data.

See Also

Other Resources

AddAttachments

ComposeDMLMessage

CreateUPMCookie

SendPrecomposedMessage

ThrottleDMLPerformance

VerifyMessageBody