Applies To„Outlook“, skirta „Microsoft 365“, skirtam „Mac“ „Outlook 2024“ „Outlook 2024“, skirta „Mac“ „Outlook 2021“, skirta „Mac“ „Office“ verslui Office 365 Small Business „Microsoft 365“ administravimo centras

With your inbox filling up, you're probably looking for new ways to process all that email. Rules can help you sort through everything and get you to the most important mail first. Outlook for Mac can automatically run a rule on incoming or outgoing messages, based on the conditions you set.

A rule is an action performed automatically on incoming or outgoing messages, based on conditions that you specify. You can create rules to help keep you organized. For example, you can create rules to automatically file messages into folders or assign messages to categories.

Note: You can only create server rules in Outlook for Mac, client rules are no longer supported.

Create a new Rule

  1. On the Outlook menu, select Settings.

  2. Under Email, select Rules.

  3. To create a new blank rule, select New Rule.

  4. In the Rules window, Name your rule.

  5. Select a Condition: Use this to select criteria for your rule. Use the down arrow to view and select the criteria you want to use. If the criteria have additional options, enter them in the window that appears.

  6. Select an action: Use this to select the action you want taken when a message arrives that meets the criteria you selected.

  7. More options for Rules:

    • Add additional conditions or actions to a rule by selecting Add another condition.

    • Add exceptions to a rule by selecting Add an exception.

    • By default, the option to Stop processing more rules is turned on. With this option on, when a message comes in that meets the criteria for more than one rule, only the first rule will be applied. Without this setting, all rules are applied that a message meets the criteria for. If you only want a specific rule to be applied, put that rule higher in the list than other rules, and then edit the first rule to add the option to stop processing more rules.

Edit an existing rule

  1. On the Outlook menu, select Settings.

  2. Under Email, select Rules.

  3. In the Rules window, select the Edit rule  Edit pencil button button.

  4. After making the edits you want, select Save.

Delete a rule

  1. On the Outlook menu, select Settings.

  2. Under Email, select Rules.

  3. Select the Delete rule  Outlook trashcan delete button icon button next to the rule you would like to delete.

    Tip: If you just want to turn the rule off instead of deleting it, you can turn the toggle off next to the rule.

Additional information about rules

  • Rules are run from top to bottom in the order they appear in the Rules window. To change the order of rules, select the rule you want to move, and then select the up or down arrows to move the rule to the position you want in the list.

  • Rules can be turned on or off using the toggle next to the rule.

  • Rules can be run immediately by selecting the Run rule now play button.

Create a rule based on the sender's name or a contact group

You can create a rule that moves all messages from [name], to a folder called "Mail from [name]." If you are receiving mail from a contact group (also known as a distribution list), you can automatically move it to a specific folder as well.

  1. To create a folder to hold the email messages sent by the rule, select the root mailbox, on the Organize tab, click New Folder, type the name of the folder, and press Enter.

    Tip: If you've already created a folder, skip to step 2.

  2. In the message list, click an email message with the sender or recipient you want to create a rule for.

  3. On the Home tab, click Rules, and then click Move Messages from (sender's name) or Move Messages to (recipient's name).

    Rules: Move messages...

  4. In the folder search box, start typing the name of the folder you want to move messages to.

  5. When the folder you want appears, click the folder name, click Choose, and then click OK.

    Find and choose a folder

    Note: If you create multiple rules, Outlook runs the rules in the order in which they are listed in the Rules window.

Create a rule based on an existing message

When you create a rule from an existing message, the sender, recipient, and subject are automatically pre-populated into the rules instructions.

  1. To create a folder to hold the email messages sent by the rule, select the root mailbox, on the Organize tab, click New Folder, type the name of the folder, and press Enter.

    Tip: If you've already created a folder, skip to step 2.

  2. In the message list, click the message from which you want to create a rule.

  3. On the Home tab, click Rules, and then click Create Rule.

  4. Under When a new message arrives, edit the criteria to suit your needs.

    Create a rule from existing email message

    To remove a condition, click Remove search criteria button. To add a condition, click Add search criteria button.

  5. Under Do the following, choose what you want to happen when you send or receive email. For example, when you receive email from someone, choose Move to Folder, select the folder you want the email messages to be moved to, and then click Choose Folder. In the Search box, find the folder you created for this rule, click Choose, and then click OK.

Create a custom rule for an IMAP or POP account

Use this procedure to create a custom rule for an IMAP or POP account. Some IMAP and POP internet service providers include: Gmail, Yahoo!, AOL, and Hotmail/Outlook.com.

Note: If you don't know which type of account you have, see Find out what type of account you have.

  1. On the Tools menu, click Rules.

  2. In the left pane of the Rules box, under Client Rules, click the account type.

  3. At the bottom of the Rules box, click Add  Add.

  4. In the Rule name box, type a name for the rule.

    Give the rule a name

  5. Under When a new message arrives, click the arrows on the first box to open the list, and then choose the type of information you want to identify.

    Click chevrons to open the list

  6. Under When a new message arrives, continue to move from left to right, clicking the arrows and selecting conditions for your rule.

    To remove a condition, click Remove search criteria button. To add a condition, click Add search criteria button.

  7. Under Do the following, specify the actions you want the rule to perform.

  8. Click OK.

Create a custom rule for an Exchange account

Use this procedure if your account runs on an Exchange server.

Note: If you don't know which type of account you have, see Find out what type of account you have.

  1. On the Tools menu, click Rules.

  2. In the left pane of the Rules box, under EXCHANGE SERVERS, click the account name.

  3. Under When a new message arrives, click the arrows on the first box to open the list, and then choose the type of information you want to identify, such as From, Recipients, or Subject.

  4. Under When a new message arrives, continue to move from left to right, clicking the arrows and selecting conditions for your rule.

  5. Click Add search terms, and then in the search list, click Add  Add for each term you want to add.

Find out what type of account you have

If you attempt to create a rule in Outlook for Mac, and you don't know what type of email account you have, here's how to find out:

  1. In the Rules box, click Show All.

  2. In the Outlook Preferences box, under Personal Settings, click Accounts.

  3. In the left pane of the Accounts box, click the account you want to create a rule for.

    In the top right pane of the Accounts box, you'll see the type of account, such as IMAP Account, Exchange Account, or POP Account.

  4. To go back to the Rules box, click Show All, and under E-mail, click Rules.

    Under Email, click Rules.

Related articles

Send automatic out of office replies from Outlook

Reikia daugiau pagalbos?

Norite daugiau parinkčių?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.