Remove keywords
CodeTwo Exchange Rules Pro can remove defined keywords from messages. This feature is very useful if, for example, the end user does not want to see the word "Spam" or the "Scanned for spam" string added to the message subject by the spam filtering software of the email recipient.
How to configure this action
To activate this action in a given rule, click Add on the Actions tab and select Remove keywords from the menu (Fig. 1.).
![]() |
Fig. 1. Choosing the Remove keywords action on the Actions tab. |
The Remove keywords action action will appear on the List of actions while the right pane will show the action's properties (Fig. 2.).
![]() |
Fig. 2. Properties pane of the Remove keywords action. |
To add a new keyword, click +Add. In the dialog box that opens (Fig. 3.) you can enter the keywords and instruct the program to look for them in a specified locations.
Fig. 3. Defining a keyword and its search location within a message.
Warning
The program will not recognize keywords defined with the $ (dollar) and ; (semicolon) characters. If, however, you want to use those to trigger the action of removing strings of those characters from emails, consider using the Remove Sensitive Content action.
CodeTwo Exchange Rules Pro is capable of scanning the message's Subject, Body, or Body and subject (Fig. 3.) in search of keywords. What is more, the search operation is case insensitive.
All the defined keywords will appear in the action's properties pane (Fig. 4.).
![]() |
Fig. 4. Keywords visible on the properties pane. |
Once you configure the keywords and save the changes, the keywords will be automatically removed from the messages that meet the criteria defined in Conditions.