cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
576
Views
1
Helpful
2
Replies

CES Incoming mail content filter more than one subject

mrjelly
Level 1
Level 1

Hello, I am using CES to create an incoming mail content filter.

Is there a way to filter on more than one 'subject header' when using the 'equals' parameter without using a dictionary?

 

thank you

1 Accepted Solution

Accepted Solutions

There are a couple of ways to handle it, depending upon how many you're adding:

1. Once you add the second test condition, in the upper right of the Conditions box there will be a drop down where you can check if this matches on one, or requires a match on all (you want to pick "if one or more conditions match"
2. Its actually a regex, so you could do something like (subject1|subject2|subject3) (don't do this, it hard to maintain)
If you need more than 10 or so, it's probably time for a dictionary... and hey.. here's the fun part, in 15.x you can manage dictionaries via API... so depending upon where these are coming from you could automate adding/removing items if you need too...


View solution in original post

2 Replies 2

There are a couple of ways to handle it, depending upon how many you're adding:

1. Once you add the second test condition, in the upper right of the Conditions box there will be a drop down where you can check if this matches on one, or requires a match on all (you want to pick "if one or more conditions match"
2. Its actually a regex, so you could do something like (subject1|subject2|subject3) (don't do this, it hard to maintain)
If you need more than 10 or so, it's probably time for a dictionary... and hey.. here's the fun part, in 15.x you can manage dictionaries via API... so depending upon where these are coming from you could automate adding/removing items if you need too...


mrjelly
Level 1
Level 1

Thanks, that is helpful