A more powerful form of searching may be achieved using the Advanced page of the Search dialog box. The Advanced page lets you specify complex search expressions involving logical AND and logical OR operators.
For example, you may wish to search for all mail messages whose sender address contains the characters 'john@address.com' and whose received time is after '1/1/98' or for all messages that are urgent.
You may achieve this in the following way:
From the Advanced page of the Search Mail dialog box, press the Add… button. This will show the Expression dialog box. Select 'Sender' from the Field field, select 'Contains No Case' from the Operator drop down and enter 'john@address.com' into the Value field. Press OK. The full expression will appear as a single line in the Expressions list in the Advanced page.
Select the AND radio button and press the Add… button again. From the Expression dialog box, select 'Received Date' from the Field field, select '>=' from the Operator drop down and select '1/1/98' from the Value field. You can select the date either by typing in a date value or by pressing the {bmct help0148.bmp} button and selecting the date from the pop-up calendar. Press OK. The expression will also appear in the Expressions list in the Advanced page.
Next, combine the two expression into a single line by selecting all lines in the Expression list and pressing the Combine button.
Next, select the OR radio button and press the Add… button once again. From the Expression dialog box, select 'Is Urgent' from the Field field, select '==' from the Operator drop down and select 'TRUE' from the Value field. Press OK. The full expression will appear as shown below:
Perform the search by pressing the Search button.