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 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.).

Exchange Rules Pro add keyword
Fig. 3. Opening the Add keyword window.

Enter the whole phrase you want to remove from emails in the field provided (Fig. 4.). Do not use quotation marks. Then, select where to look for the phrase in the message using the Remove from drop-down list.

Defining a key phrase to be deleted by the rule
Fig. 4. Defining a key phrase to be deleted by the rule.

The service will look for the entire phrase you define and delete it. For example, if you enter the phrase as shown in Fig. 4., our program will remove the whole phrase this is the legal disclaimer from emails, but will not delete the phrases legal or legal disclaimer if it encounters them elsewhere in an email.


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. 4.) 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. 5.).

Fig. 5. 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.

Was this information useful?