Body

The Body condition is used to define the message body (content of an email) that once met will trigger an action to be processed by the program.

To define the message body within the Conditions tab, expand the Field's context menu and choose Body (Fig. 1.).

ExchangeRules-Body
Fig. 1. Choosing Body in the Conditions tab.

There are two factors (Fig. 2.) that need to be configured within this condition:

  • Operator - enables definition of how the condition will be executed. The execution method may be only set to true.

In this particular condition, the operator may be set to trigger an action if the message body:

  • contains keyword(s)
     
  • Actual condition value - here you define the expected value of the condition that will trigger the rule to apply the action.
ExchangeRules-Body2
Fig. 2. Configuring the message Body.

Info

Please note that the value field depends on the operator, and its definition type may differ in regards to the chosen operator. What is more, this field is always case-insensitive.

Choosing contains keyword operator, you will be able to define strings of characters to be searched for within the message body. Additionally, besides defining strings of characters (letters and numbers) as keywords, you can also make use of wildcards as a prefix or a suffix. Either way, If the defined keywords are found while processing messages, then the condition will be met yet the defined action executed.

Important

The program will not recognize keywords defined with $ (dollar) and ; (semicolon) characters.

This feature lets you also decide if the found keyword should be removed or left unchanged. To define a keyword for the contains keyword operator, click Edit and then the Add button. In the window that opens enter the keyword and mark the Remove from message checkbox to delete it from the message body if found. On the other hand, leave the checkbox unmarked if you do not want to remove the found keyword. Be aware, this option works regardless of other conditions and exceptions.

ExchangeRulesFamily-ContainsKeyword1
Fig. 3. Defining a keyword to be searched for within the body of the message.

See next

Message Direction - this article describes how to configure the Message Direction condition.

Was this information useful?