After you have run Office 365 desktop setup, connect your desktop version of Outlook that you're using to Office 365. Set up your Office 365 email in Outlook 2016 or Outlook 2019. If the Microsoft Outlook Startup wizard appears, on the first page of the wizard, click Next. Then, on the E-mail Accounts page, click Next to set up an. Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to data mine your Microsoft Outlook Inbox. Hey, Scripting Guy! I was talking to my boss the other day, and he made a rather interesting observation. He said that if I send four or five emails to a person within a four- or five-minute period, I. Added commands in AppleScript to set Outlook as the default mail, calendar and contacts application. Updated file names to use 5.1.0. Server-based rules versus client-only rules. There are two types of rules in Outlook - server-based and client-only. Server-based rules When you are using an Office 365 account, some rules are server-based rules. These rules run on your mailbox on the Exchange mail server, even when Outlook isn't running.
Topics Map > WindowsTopics Map > Office 365 > Outlook
A rule is an action that Microsoft Outlook 2016, 2013, 2010 runs automatically on incoming or outgoing messages, based on conditions that you have specified.
- Create a rule
How rules help you manage email messages
Rules help reduce manually filing or taking the same action when a similar message arrives. Unlike Quick Steps, rules typically are always on and run automatically. For example, when a message is received from a specified person, it's automatically moved to the folder that you designate.
The Rules Wizard helps you design rules to manage messages. Rules fall into one of two categories --- organization and notification.
Bluestack for mac os x 10 10 5. The Rules Wizard includes templates for the most frequently used rules, which include the following:
- Stay Organized These rules help you file and follow up on messages. For example, you can create a rule for messages from a specific sender, such as Anne Weiler, with the word 'sales' in the Subject line, to be flagged for follow-up, categorized as Sales, and moved to a folder named Anne's Sales.
- Stay Up to Date These rules notify you in some way when you receive a particular message. For example, you can create a rule that automatically sends a message to a mobile device when you receive a message from a family member.
- Start from a blank rule These are rules that you create without the aid of a rule template and that you can completely customize.
Create a rule
Outlook includes rule templates for common scenarios. Use these rule templates, or create design your own custom rules.
Use Outlook rule templates
- Click the File tab.
- Click Rules and Alerts.
- In the Rules and Alerts dialog box, on the E-mail Rules tab, click New Rule.
- Under Step 1: Select a template, select the template that you want from the Stay Organized or Stay Up to Date collection of templates.
- Under Step 2: Edit the rule description, click an underlined value. For example, if you click the people or public group link, the Address Book opens.
- Click Next.
- Under Step 1: Select condition(s), select the conditions that you want the messages to meet for the rule to apply.
- Under Step 2: Edit the rule description, click an underlined value for any condition that you added, and then specify the value.
- Click Next.
- Under Step 1: Select action(s), select the action that you want the rule to take when the specified conditions are met.
- Under Step 2: Edit the rule description, click an underlined value for any action that you added, and then specify the value.
- Click Next.
- Under Step 1: Select exception(s), select any exceptions to the rule, and then click Next.
- Under Step 2: Edit the rule description, click an underlined value for any exception that you added, and then specify the value.
- Click Next.
- Under Step 1: Specify a name for this rule, enter a name.
- Under Step 2: Setup rule options, select the check boxes for the options that you want.
- If you want to run this rule on messages that already are in the Inbox, select the Run this rule now on messages already in 'Inbox' check box.
- By default, the new rule is turned on. To turn off the rule, clear the Turn on this rule check box.
- To apply this rule to all email accounts set up in Outlook, select the Create this rule on all accounts check box.
- Click Finish.
Design a custom rule
- Click the File tab.
- Click Rules and Alerts.
- In the Rules and Alerts dialog box, on the E-mail Rules tab, click New Rule.
- Under Start from a blank rule, click either Check messages when they arrive or Check messages after sending.
- Click Next.
- Under Step 1: Select condition(s), select the conditions that you want the messages to meet for the rule to apply.
- Under Step 2: Edit the rule description, click an underlined value for any condition that you added, and then specify the value.
- Click Next.
- Under Step 1: Select action(s), select the action that you want the rule to take when the specified conditions are met.
- Under Step 2: Edit the rule description, click an underlined value for any action that you added, and then specify the value.
- Click Next.
- Under Step 1: Select exception(s), select any exceptions to the rule, and then click Next.
- Under Step 2: Edit the rule description, click an underlined value for any exception that you added, and then specify the value.
- Click Next.
- Under Step 1: Specify a name for this rule, enter a name.
- Under Step 2: Setup rule options, select the check boxes for the options that you want.
- If you want to run this rule on messages that already are in the Inbox, select the Run this rule now on messages already in 'Inbox' check box.
- By default, the new rule is turned on. To turn off the rule, clear the Turn on this rule check box.
- To apply this rule to all email accounts set up in Outlook, select the Create this rule on all accounts check box.
- Click Finish.
Create a rule based on senders or recipients of a message
A rule can be quickly created from any message. The advantage of this method is that rules are suggested based on the message sender or recipients. For example, when you start with a message, one rule that is suggested moves all messages from that sender to a folder that you choose.
- Click the message for which you want to create a rule, and then on the Home tab, in the Move group, click Rules.
Suggested rules appear based on the message sender and recipients.
- Do one of the following:
- Click one of the suggested rules, click a destination folder, and then click OK.
- For more rules options that are based on the sender, recipients, or subject of the message, click Create Rule.
- Or select Manage Rules & Alerts to be brought to more options.
If you chose Create Rule in step 2, the Create Rule dialog box appears. Continue with the following steps.
- Under When I get e-mail with all of the selected conditions, select the check boxes for the conditions that you want.
- Under Do the following, select the check boxes for the action that you want the rule to take when the specified conditions are met.
- Select the Move the item to folder check box.
- Click an existing folder or click New to create a folder to store the messages.
To add more conditions, actions, or exceptions to the rule, click Advanced Options, and then follow the rest of the instructions in the Rules Wizard. This is the same wizard that appears when you click Manage Rules & Alerts in the Backstage view (by clicking the File tab). See Design a custom rule for more information.
- Click OK.
Run rules manually
If you want to manually run one or more rules, do the following:
- Click the File tab.
- Click Rules and Alerts.
- Click Run Rules Now.
- In the Run Rules Now dialog box, under Select rules to run, select the check box next to each rule that you want to run.
- In the Run in Folder box, if you want to select a different folder, click Browse, click the folder, and then click OK.
Select the Include subfolders check box to include all folders under the folder that was specified in step 5.
- In the Apply rules to list, the default is all messages. You can change this to read or unread messages.
- Click Run Now.
Server-based rules versus client-only rules
Outlook 2016 Set Applescript To Run Faster
There are two types of rules in Outlook --- server-based and client-only.
- Server-based rules When you are using an Office 365 account, some rules are server-based rules. 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 A rule that can't be applied on the server has the words 'client-only' or 'On this machine only' added to the end of the rule's name. Client-only rules are applied after all other rules. If your list of rules contains rules that can be run on the server as well as those that can't, the server-based rules are applied first, followed by the 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.
If your list of rules contains both kinds of rules, the server-based rules are applied first, followed by the client-only rules.
How/Why rules become server or client side rules
Whether or not a rule will be a server-side or client-side rule depends on the actions, conditions, and exceptions that are selected in the message.
When the rule contains an action or condition/exception that can only be performed by Outlook, then the rule turns into a client-side rule. If this action/condition/exception is also dependent on a specific configuration of Outlook then the rule will get the 'on this machine only' condition as well.
See complete details on server-side vs client-only rules.
Important: If you always want to create a server-side rule, then use Outlook on the web.
Applying 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 are messages. For example, a rule that moves items (item: An item is a basic element that holds information in Outlook (similar to a file in other programs). Items include e-mail messages, appointments, contacts, tasks, journal entries, notes, posted items, and documents.) with the word 'meeting' in the subject to a specific folder, also moves all delivery receipts, voting responses, or an Automatic Reply that contains the word 'meeting' in the subject.
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 of responses that a rule moved. Manually moving or deleting a response doesn't affect the tracking.
Meeting requests, task requests, and documents
When applying rules, meeting requests, task requests, and documents are considered messages. For example, a rule that moves items (item: An item is a basic element that holds information in Outlook (similar to a file in other programs). Items include e-mail messages, appointments, contacts, tasks, journal entries, notes, posted items, and documents.) with the word 'meeting' in the Subject box to a specific folder also moves any task request or meeting request that meets that condition. However, be aware the following limitations when you create rules that affect these kinds of items:
- An item moved to a folder other than a mail folder might not work as expected after it is 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.
Contact Groups

A rule that includes a Contact Group can behave differently depending on how the rule is created.
- Move messages sent to a public group to a folder This rule is available only if you are 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.
If you have any questions, come by the Help Desk at Hardman & Jacobs Undergraduate Learning Center Room 105, call 646-1840, or email us at help@nmsu.edu.
-->In this article, you'll walk through the process of building an Outlook task pane add-in that displays at least one property of a selected message.
Create the add-in
You can create an Office Add-in by using the Yeoman generator for Office Add-ins or Visual Studio. The Yeoman generator creates a Node.js project that can be managed with Visual Studio Code or any other editor, whereas Visual Studio creates a Visual Studio solution. Select the tab for the one you'd like to use and then follow the instructions to create your add-in and test it locally.
Prerequisites
Note
If you aren't familiar with Node.js or npm, you should start by setting up your development environment.
Node.js (the latest LTS version)
The latest version of Yeoman and the Yeoman generator for Office Add-ins. To install these tools globally, run the following command via the command prompt.
Note
Even if you've previously installed the Yeoman generator, we recommend you update your package to the latest version from npm.
Create the add-in project
Run the following command to create an add-in project using the Yeoman generator.
Note
When you run the
yo office
command, you may receive prompts about the data collection policies of Yeoman and the Office Add-in CLI tools. Use the information that's provided to respond to the prompts as you see fit.When prompted, provide the following information to create your add-in project.
Choose a project type -
Office Add-in Task Pane project
Choose a script type -
JavaScript
What do you want to name your add-in? -
My Office Add-in
Which Office client application would you like to support? -
Outlook
After you complete the wizard, the generator will create the project and install supporting Node components.
Tip
You can ignore the next steps guidance that the Yeoman generator provides after the add-in project's been created. The step-by-step instructions within this article provide all of the guidance you'll need to complete this tutorial.
Navigate to the root folder of the web application project.
Explore the project
The add-in project that you've created with the Yeoman generator contains sample code for a very basic task pane add-in.
- The ./manifest.xml file in the root directory of the project defines the settings and capabilities of the add-in.
- The ./src/taskpane/taskpane.html file contains the HTML markup for the task pane.
- The ./src/taskpane/taskpane.css file contains the CSS that's applied to content in the task pane.
- The ./src/taskpane/taskpane.js file contains the Office JavaScript API code that facilitates interaction between the task pane and Outlook.
Update the code
In your code editor, open the file ./src/taskpane/taskpane.html and replace the entire
<main>
element (within the<body>
element) with the following markup. This new markup adds a label where the script in ./src/taskpane/taskpane.js will write data.In your code editor, open the file ./src/taskpane/taskpane.js and add the following code within the
run
function. This code uses the Office JavaScript API to get a reference to the current message and write itssubject
property value to the task pane.
Try it out

Note
Office Add-ins should use HTTPS, not HTTP, even when you are developing. If you are prompted to install a certificate after you run the following command, accept the prompt to install the certificate that the Yeoman generator provides. You may also have to run your command prompt or terminal as an administrator for the changes to be made.
Outlook 2016 Set Applescript To Run Download
Run the following command in the root directory of your project. When you run this command, the local web server will start (if it's not already running) and your add-in will be sideloaded.
Follow the instructions in Sideload Outlook add-ins for testing to sideload the add-in in Outlook.
In Outlook, view a message in the Reading Pane, or open the message in its own window.
Choose the Home tab (or the Message tab if you opened the message in a new window), and then choose the Show Taskpane button in the ribbon to open the add-in task pane.
Note
If you receive the error 'We can't open this add-in from localhost' in the task pane, follow the steps outlined in the troubleshooting article.
Scroll to the bottom of the task pane and choose the Run link to write the message subject to the task pane.
Next steps
Congratulations, you've successfully created your first Outlook task pane add-in! Next, learn more about the capabilities of an Outlook add-in and build a more complex add-in by following along with the Outlook add-in tutorial.
Prerequisites

Visual Studio 2019 with the Office/SharePoint development workload installed
Note
If you've previously installed Visual Studio 2019, use the Visual Studio Installer to ensure that the Office/SharePoint development workload is installed.
Microsoft 365 Screen capture on mac using windows keyboard.
Note
If you do not have a Microsoft 365 subscription, you can get a free one by signing up for the Microsoft 365 developer program.
Create the add-in project
On the Visual Studio menu bar, choose File > New > Project.
In the list of project types under Visual C# or Visual Basic, expand Office/SharePoint, choose Add-ins, and then choose Outlook Web Add-in as the project type.
Name the project, and then choose OK.
Visual Studio creates a solution and its two projects appear in Solution Explorer. The MessageRead.html file opens in Visual Studio.
Explore the Visual Studio solution
Outlook 2016 Set Applescript To Run Video
When you've completed the wizard, Visual Studio creates a solution that contains two projects.
Project | Description |
---|---|
Add-in project | Contains only an XML manifest file, which contains all the settings that describe your add-in. These settings help the Office application determine when your add-in should be activated and where the add-in should appear. Visual Studio generates the contents of this file for you so that you can run the project and use your add-in immediately. You can change these settings any time by modifying the XML file. |
Web application project | Contains the content pages of your add-in, including all the files and file references that you need to develop Office-aware HTML and JavaScript pages. While you develop your add-in, Visual Studio hosts the web application on your local IIS server. When you're ready to publish the add-in, you'll need to deploy this web application project to a web server. |
Outlook 2016 Set Applescript To Run Google
Update the code
MessageRead.html specifies the HTML that will be rendered in the add-in's task pane. In MessageRead.html, replace the
<body>
element with the following markup and save the file.Open the file MessageRead.js in the root of the web application project. This file specifies the script for the add-in. Replace the entire contents with the following code and save the file.
Open the file MessageRead.css in the root of the web application project. This file specifies the custom styles for the add-in. Replace the entire contents with the following code and save the file.
Update the manifest
Open the XML manifest file in the Add-in project. This file defines the add-in's settings and capabilities.
The
ProviderName
element has a placeholder value. Replace it with your name.The
DefaultValue
attribute of theDisplayName
element has a placeholder. Replace it withMy Office Add-in
.The
DefaultValue
attribute of theDescription
element has a placeholder. Replace it withMy First Outlook add-in
.Save the file.
Try it out
Using Visual Studio, test the newly created Outlook add-in by pressing F5 or choosing the Start button. The add-in will be hosted locally on IIS.
In the Connect to Exchange email account dialog box, enter the email address and password for your Microsoft account and then choose Connect. When the Outlook.com login page opens in a browser, sign in to your email account with the same credentials as you entered previously.
Note
If the Connect to Exchange email account dialog box repeatedly prompts you to sign in or you receive an error that you are unauthorized, Basic Auth may be disabled for accounts on your Microsoft 365 tenant. To test this add-in, try signing in again after setting the Use multi-factor auth property to True in the Web Add-in project properties dialog, or sign in using a Microsoft account instead.
In Outlook on the web, select or open a message.
Within the message, locate the ellipsis for the overflow menu containing the add-in's button.
Within the overflow menu, locate the add-in's button.
Click the button to open the add-in's task pane.
Note
If the task pane doesn't load, try to verify by opening it in a browser on the same machine.
Outlook 2016 Set Applescript To Run Online
Next steps
Outlook 2016 Set Applescript To Runes
Congratulations, you've successfully created your first Outlook task pane add-in! Next, learn more about developing Office Add-ins with Visual Studio. Explain everything mac os.