Java Desktop System Email and Calendar User Guide

Using Advanced Searches

You can perform advanced searches that use complex search criteria. For example, you can search for messages that include an attachment, that are flagged, and that you received on a particular date. You can also save your searches, then use the searches later from the Search menu.

For information about how to perform simple searches, see Searching Your Messages.

To Perform an Advanced Search

Perform the following steps:

  1. Display the folder that contains the messages that you want to search.

  2. Choose Search -> Advanced. Alternatively, select Advanced from the drop-down list in the searchbar.

  3. Use the If group box in the Advanced Search dialog to create criteria for the search. To create criteria, perform the following steps:

    1. From the first drop-down list, select the message component in which to search. For example, select Message Body to search the text in the body of the message.

    2. From the second drop-down list, select the relationship between the message component and the search text. For example, to search for messages whose body includes the search text, select contains from the second drop-down list.

    3. In the text box, type the search text. This text is not case sensitive.

    4. To add more criteria, click on the Add button. To remove a criterion, click on the Remove button beside the criterion.

  4. Select the appropriate option from the Execute actions drop-down list. Select one of the following options:

    • if any criteria are met: Select this option if you want the search to return matches where any of the specified criteria are met.

    • if all criteria are met: Select this option if you want the search to return only matches where all of the specified criteria are met.

  5. Click OK to perform the advanced search. The messages that match are displayed in the message list.

    Alternatively, to save the search, type a name for the search in the Rule name text box, then click Save. Choose Search -> search-name to perform the search.

    To clear the advanced search criteria and display all the messages in the folder, choose Search -> Clear.

Using the Search Editor

Email and Calendar enables you to save your searches. The saved searches are added to the Search menu, and you can choose the searches from this menu. Email and Calendar contains a search editor to enable you to add, edit, and delete your searches. You can also rearrange the order of the searches in your Search menu.

To Add a Search

Perform the following steps:

  1. Choose Search -> Edit Saved Searches.

  2. Click Add in the Search Editor dialog.

  3. Enter the details for the search in the Add Rule dialog. The following table describes the elements on the Add Rule dialog:

    Element 

    Description 

    Rule name

    Type a name for the search in the text box. 

    Add

    Click this button to add more criteria.  

    Execute actions

    Use the drop-down list to specify whether the search returns a message if the message meets all, or any, of the criteria in the search. 

    First drop-down list 

    Select the message component in which to search. For example, select Message Body to search the text in the body of the message.

    Second drop-down list 

    Select the relationship between the message component and the search text. For example, to search for messages whose body includes the search text, select contains from the second drop-down list.

    Text box 

    Type the search text. This text is not case sensitive. 

    Remove

    To remove a criterion, click on the Remove button beside the criterion.

  4. Click OK. The search is added to the Search menu.

You can also save searches that you perform from the searchbar. For more information, see To Search All Messages in a Folder. You can also use the Advanced Search dialog to save a search. For more information, see To Perform an Advanced Search.

To Edit a Search

Perform the following steps:

  1. Choose Search -> Edit Saved Searches.

  2. In the Search Editor dialog, select the search that you want to edit, then click Edit. An Edit Rule dialog is displayed. Modify the details for the search in the Edit Rule dialog. For more information about the elements in the dialog, see To Add a Search.

  3. Click OK to save your changes and close the Edit Rule dialog.

  4. Click OK to close the Search Editor dialog.

To Delete a Search

Perform the following steps:

  1. Choose Search -> Edit Saved Searches.

  2. In the Search Editor dialog, select the search that you want to delete, then click Remove.

  3. Click OK. The search is removed from the Search menu.

To Arrange the Searches in the Search Menu

Perform the following steps:

  1. Choose Search -> Edit Saved Searches. The Search Editor dialog displays your searches in the same order as the Search menu.

  2. Select a search whose position you want to change, then click Up button or Down button until the search is in the required position.

  3. Click OK. The position of the search is updated in the Search menu.