You need to send automatic replies only to specific groups of people, such as external partners or internal teams. Outlook’s standard automatic reply feature sends a single response to everyone. To target replies based on the sender’s email domain, you must use Outlook rules. This article explains how to create a rule that checks the sender’s domain and sends a custom automatic reply.
Key Takeaways: Conditional Automatic Replies by Domain
- Rules > Manage Rules & Alerts > New Rule: Creates a custom automation that can filter messages by the sender’s domain and send a reply.
- Condition: with specific words in the sender’s address: This rule condition allows you to target email addresses containing a domain like @partner.com.
- Action: reply using a specific template: Sends a pre-written HTML email as the automatic response only to messages that meet your domain condition.
How Outlook Rules Enable Conditional Auto-Replies
Outlook’s built-in automatic replies, formerly called Out of Office, are designed for broad announcements. They lack the ability to filter senders by domain. To achieve this, you use the more powerful Rules feature. Rules process incoming messages based on conditions you set and can execute actions like moving, flagging, or replying to messages.
The key condition for this task is “with specific words in the sender’s address.” You can specify a domain name like “example.com” to catch any sender from that organization. The corresponding action is “reply using a specific template,” which requires you to first create and save an email as an Outlook Template file with your desired reply text.
Prerequisites for Setting Up the Rule
You must use the Outlook desktop application for Windows or Mac. The web version of Outlook does not support the “reply using a specific template” action. Your account should be configured in Outlook, and you need permission to create and run rules on your mailbox. Before starting, compose and save the email you want to send as a reply.
Steps to Create a Domain-Based Automatic Reply Rule
Follow these steps to build a rule that sends an automatic reply only to senders from a specific domain. The process involves creating a message template and then building the rule.
- Create and save your reply template
Open a new email window in Outlook. Type your subject line and the body of your automatic reply. Do not enter a recipient. Go to File > Save As. In the Save as type dropdown, select Outlook Template. Name the file, for example, “Reply to Partners.oft,” and save it to a folder you can remember, like Documents. - Open the Rules and Alerts dialog
In the Outlook ribbon, click the File tab. Select Manage Rules & Alerts. This opens the Rules and Alerts window with your existing rules listed. - Start creating a new rule from a template
Click the New Rule button. In the wizard, select Apply rule on messages I receive under Start from a blank rule. Click Next. - Set the condition for the sender’s domain
In the condition selection list, check the box next to with specific words in the sender’s address. In the lower pane, click the blue underlined phrase “specific words.” In the dialog box, enter the domain you want to target, such as @partner-company.com. Click Add, then OK. Click Next. - Choose the reply action
In the action selection list, check the box next to reply using a specific template. In the lower pane, click the blue underlined phrase “a specific template.” In the dialog that opens, click the Look In dropdown and change it to User Templates in File System. Browse to and select the .oft template file you saved in Step 1. Click Open, then OK. Click Next. - Add any exceptions and finish the rule
The next screen allows you to add exceptions, like if the subject contains “URGENT.” Add these if needed. Click Next. Give your rule a descriptive name, for example, “Auto-Reply to Partner Domain.” Ensure the box for Turn on this rule is checked. Click Finish, then OK to close the Rules and Alerts window. The rule is now active.
Common Mistakes and Limitations to Avoid
The Rule Sends a Reply to Every Email, Not Just the Domain
This happens if the condition was not set correctly. Open Manage Rules & Alerts, double-click your rule, and review the condition step. Verify the “specific words” are exactly the domain pattern, like @company.com. The rule applies only to incoming messages received after it was created.
Outlook Says It Cannot Find the Template File
If you move or delete the .oft file after creating the rule, the action will fail. You must edit the rule and re-select the template from its new location. For reliability, save all templates in a dedicated folder you will not modify.
The Reply Sends Multiple Times to the Same Sender
Outlook rules run each time a message arrives. If a sender from the target domain emails you multiple times, they will get a reply each time. Rules lack a native “send only once per sender” option. A workaround is to add an exception for messages where my name is in the To or Cc box, as replies typically include the original recipient.
Rule Does Not Work with Outlook on the Web or Mobile
Server-side rules created in Outlook for Windows may sync, but the “reply using a template” action is client-side. It only runs when the Outlook desktop app is running on your computer. For always-on replies, consider using Exchange transport rules if you have administrator access.
Standard Auto-Replies vs. Conditional Rules: Key Differences
| Item | Standard Automatic Replies | Conditional Rules with Template |
|---|---|---|
| Targeting | Sends to all internal and/or external senders | Can target specific domains, addresses, or groups |
| Message Customization | One or two static messages for internal/external | Unlimited unique templates for different conditions |
| Control | Simple on/off with date range | Runs continuously until rule is disabled or deleted |
| Client Dependency | Server-side feature, works on all clients | Requires Outlook desktop app to be running |
| Setup Location | File > Automatic Replies (Out of Office) | File > Manage Rules & Alerts > New Rule |
You can now send targeted automatic replies to specific domains using Outlook rules. Remember that the rule requires your desktop Outlook application to be running to send the templated reply. For your next automation, try creating a rule that files incoming messages from a domain into a specific folder. Use the Run Rules Now button in Manage Rules & Alerts to manually test your new rule with existing emails in your inbox.