[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
carbonRule AND|NOT|OR
carbonGroups fido
carbonRule AND
carbonText programming
carbonCopy my.echomail
With this keyword you can make it possible to have more than 1 selection criteria for a message. The default rule is AND. So without using CarbonRule, all expressions will be AND-ed. With Carbonrule AND, the two expressions above and below the AND must be true or else a message will not be copied. With Carbonrule you can define how the expressions are joined together.
CarbonRule NOT, is in fact AND NOT. So
CarbonText beatles CarbonRule NOT CarbonText bugs CarbonCopy my.mail |
..will only copy messages when 'beatles' is in the text AND NOT 'bugs' in the text.
In general, it is possible to define more than one set of rules for 1 single carbonArea. For example:
CarbonText female CarbonRule NOT CarbonText connector CarbonRule OR CarbonSubj beer CarbonRule AND CarbonText drink CarbonText holliday CarbonCopy my.mail |
CarbonRule NOT CarbonText connector CarbonRule AND CarbonText female CarbonRule OR CarbonRule AND CarbonSubj beer CarbonText drink CarbonText holliday CarbonCopy my.mail |
Messages that have 'female' in the text, but not the word 'connector', will be copied to the my.mail area.
Also messages with 'beer' in the text AND 'drink' in the text AND 'holliday' in the text, will be copied to the my.mail area.
A set of expressions is true when they are OR-ed and at least one of them is true.
A set of expressions is true when they are AND-ed and ALL of them are true. Expressions are evaluated from top to bottom.
This statement can be repeated.
A CarbonRule is valid until a next rule is defined of until an action. After an action (CarbonCopy, CarbonMove, etc), the CarbonRule is AND again and new set of expressions starts.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |