Prevent Accidental Sendout to Certain Recipients

Prev Next

Goal

Prevent messages from being sent to specific recipients by adding a personalization rule that suppresses sendout.


Background information

You can prevent sendout to specific recipients by inserting a personalization rule into a message, template, or group. The rule suppresses sendout for the recipients who match the rule criteria.

This personalization rule always suppresses the sendout of the entire message to the specified recipients, even if you insert it in only one text field or one CMS paragraph.


Procedure

  1. Open the message, template, or group where you want to insert the rule.

  2. Select any text field where you want to place the rule.

  3. Define a personalization rule that identifies the recipients based on their attributes.

  4. If you are adding the rule to a message, insert it anywhere within the message text (see Insert a personalization).

  5. If you are adding the rule to a group, copy the code from the personalization wizard and paste it under the Sendout Options tab in the message header or footer.

  6. Inside the personalization tags, insert the command <ec:skiprecipient/>.

The personalization can also be integrated into a CMS template.


Example

You want to prevent non-German-speaking recipients from receiving messages created with a German-language CMS template. Each German-speaking recipient has the value “German” in the Language attribute.

Use the following rule:

<%InsertIf expression="${((user.CustomAttribute['language']!='german'))}" id="NonGerman"%> <ec:skiprecipient/>
<%/InsertIf%>