Email domain typlology rule for transactional events messages | Community
Skip to main content
Level 2
March 7, 2021
Solved

Email domain typlology rule for transactional events messages

  • March 7, 2021
  • 2 replies
  • 1156 views

Hello everyone,

 

Is there a possibility to filter the email domains in transactional events? Objective is to only allow testers email domains during UAT.

 

We obviously can't use a profile filter typology rule because the email address is only in the JSON body, so i tried importing via package a control typology rule, with JS condition on : rtEvent.email, but I get an error : 

 

 

Anyone to help me on this one please ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Magnus_Selsing

Now you probably found a solution, so this is for whomever encounter the same problem.

 

If you want to only send transactional emails to a specific email domain. You need to add a specific typology rule for each event. 
After you created the typology rule, you need to select edit and the select "Advanced Information" and change the filtering dimension to the event (that is associated with the transactional email). 
Then you can add a "Email does not contain @YOURCOMPANY.COM" to make sure only "@YOURCOMPANY.COM" can receive the transactional emails.

This rule then needs to be added to the transactional emails typology.

2 replies

Adobe Employee
March 10, 2021

Are you using "real-time transactional messages" or "profile transactional messages"?

For profile messages, the regular filtering rules can be applied.

For real-time ones, unfortunately you can't apply such a filter

Magnus_SelsingAccepted solution
August 11, 2022

Now you probably found a solution, so this is for whomever encounter the same problem.

 

If you want to only send transactional emails to a specific email domain. You need to add a specific typology rule for each event. 
After you created the typology rule, you need to select edit and the select "Advanced Information" and change the filtering dimension to the event (that is associated with the transactional email). 
Then you can add a "Email does not contain @YOURCOMPANY.COM" to make sure only "@YOURCOMPANY.COM" can receive the transactional emails.

This rule then needs to be added to the transactional emails typology.