Manage email messages by using rules (Windows)
Manage email messages by using rules (Windows)
Rules allow you to move, flag, and respond to email messages automatically. You can also use rules to play sounds, move messages to folders, or display new item alerts.
The easiest and most common rule to create is one that allows you to move an item from a certain sender or with certain words in the subject line to another folder. You can create this rule directly from a message you've already received.
- Right-click a message in your inbox or another email folder and select Rules.
- Select one of the options. Outlook automatically suggests creating a rule based on the sender and the recipients. To view more options, select Create Rule.
- In the Create Rule dialog box, select one or more of the first three checkboxes.
- In the Do the following section, if you want the rule to move a message to a folder, check the Move item to folder box, then select the folder from the Select Folder dialog that pops up, and then click OK.
- Click OK to save your rule.
Note: If you want to run the rule on messages you've already received, check the box on the confirmation dialog that pops up and then click OK.
Create a rule using the Rules Wizard
There are three types of rules you can create with the Rules Wizard.
- Stay organized: These rules help you filter, file, and follow-up with messages.
- Stay up to date: These rules notify you when you receive a message that fits a specific set of criteria.
- Custom rules: These are rules you create without a template.
Rules are almost infinitely customizable. There are a variety of options you can set for each type of rule you create. Use the following steps to learn how to create a rule using the Rules Wizard.
- Select File> Manage Rules & Alerts to open the Rules and Alerts dialog box.
- On the Email Rules tab, select New Rule.
- Select one of the templates from Step 1. To start from a blank rule, select Apply rule on messages I receive or Apply rule on messages I send.
- In the Step 2: Edit the rule description box, click on any underlined options to set them. For example, if you selected Flag messages from someone for follow-up in Step 1, click people or public group to select which senders' messages you want to flag, then click follow up at this time to select a flag and a follow up date.
- Click Next.
Delete a rule
You can delete a rule when it's no longer necessary.
- On the File tab, choose Manage Rules & Alerts.
- In the Rules and Alerts dialog box, on the E-mail Rules tab, choose the rule you want to delete.
- Choose Delete > OK.
Run rules manually
You can manually run one or more rules.
- On the File tab, choose Manage Rules & Alerts, and on the E-mail Rules tab, choose Run Rules Now.
- In the Run Rules Now box, under Select rules to run, select the check box for each rule that you want to run.
- In the Run in Folder box, to select a different folder, choose Browse, choose the folder, and then choose OK. Select the Include subfolders check box to include all folders under the folder you chose in step 3.
- In the Apply rules to list, accept the default setting of all messages, or change to read or unread messages.
- Choose Run Now.
Server-based rules vs. client-only rules
There are two types of rules in Outlook—server-based and client-only.
- Server-based rules
When you're using a Microsoft Exchange Server account, some rules are server-based. These rules run on your mailbox on the Exchange mail server even when Outlook isn’t running. Server-based rules must apply to messages when they are first delivered to your Inbox, and the rules must be able to run until they are completed on the server. For example, a rule that specifies that a message be printed can’t run until it is completed on the server. If a rule can’t be applied on the server, it is applied when you start Outlook and then becomes a client-only rule.
- Client-only rules
Client-only rules are rules that run only on your computer. These are rules that run in Outlook instead of on the Exchange server. Client-only rules can only run when Outlook is running.
Tip: If your list of rules contains both kinds of rules, the server-based rules are applied first, followed by the client-only rules.
Apply rules to other Outlook items
Delivery receipts, voting responses, and Automatic Replies
When rules are applied, delivery receipts, read receipts, voting responses, and Automatic Replies (Out of Office notifications) are processed as if they're messages. A rule that moves messages with the word "meeting" in the Subject box to a specific folder, for example, also moves all delivery receipts, voting responses, or an Automatic Replies to that same folder.
Note: When a rule moves voting responses from the Inbox to another folder, vote tracking is affected. When a sent message that included a voting button is opened, the tracking information won’t include a tally for responses that a rule moved. Manually moving or deleting a response doesn’t affect tracking.
Meeting requests, task requests, and documents
Meeting requests, task requests, and documents are considered messages. If you create a rule that moves an item to a specific folder based on certain conditions (criteria) being met (matched), then any meeting and task request matching those conditions also is moved. Be aware, however, of the following limitations when you create rules that affect these kinds of items:
- If an item is moved to a folder other than a mail folder, the item might not work as expected after it's moved. For example, if a message is moved to the Calendar folder, a new appointment isn’t created.
- If a meeting or task response is moved to the Deleted Items folder by using a rule, the response isn’t tracked by the original item.
- If a meeting request is automatically moved to the Deleted Items folder, the meeting isn’t added to the Calendar.
- Rules that affect messages that you send aren’t applied to task requests and meeting requests.
A rule that includes a Contact Group can behave differently than other rules depending on how the rule is created.
Move messages sent to a public group to a folderThis rule is available only if you're using an Exchange Server account. Only messages that are sent to the Contact Group are moved to the specified folder. Messages from people who are members of the Contact Group aren’t moved to the specified folder.