You can use rules to direct incoming mail to particular mailboxes based on the contents of To, From, Sender, Subject, the entire message Header (everything but the body of the message), or the Body of the message.
From the Account Options... menu, select Change My Processing Rules to go to the Change Rules page.
Click Add or Modify (if you currently have rules to modify).
From the drop-down menu select To/From/Sender/Subject/Header or Body to choose the area of the message to search.
Select contains to have the rule look for messages that contain the search string; select doesn't contain to look for messages that do not contain the string.
Enter a search string as described below.
Select one of the following Filter Actions to take on messages that meet the rule criteria.
Enter a search string by doing one or more of the following:
Enter the literal text (up to 255 characters) that you want to search for. For example, if you want to find the word jazz, type: jazz.
Type search expressions and quantifiers (up to 255 characters) as shown in the Text Patterns tables below.
Paste a portion of a mail message that meets your intended search criteria. For instance, you could copy and paste text such as XMSMailPriority(High) from the header of a message; this would search for High priority messages.
Check Search string from file if you have placed the search text in a text file. The listbox shows a list of the existing rule files.
|
Text Pattern |
Expression |
|
Any character |
. |
|
Any of the values separated by vertical bars within the parentheses |
(this|that|other) |
|
Any word character (a-z, A-Z, 0-9) |
\w |
|
Any non-word character |
\W |
|
Any digit (0-9) |
\d |
|
Any non-digit |
\D |
|
Any white space (spaces and/or tabs and/or carriage returns) |
\s |
|
Any non-white space |
\S |
|
Any punctuation character (any character other than \w or \s) |
\p |
|
Any non-punctuation character |
\P |
|
Quantifier |
Expression |
|
Zero or more |
* |
|
One or more |
+ |
|
Exactly 100 |
{100} |
|
At least n1, but not more than n2 (where n1 and n2 are numbers) |
{n1,n2} |
Note: The following characters have special meaning in a rule:
{}()|*+,.:
If you want to use one of these characters in a search string, precede it with a backslash. For example, to search for a plus sign, enter \+ in the search string.