Outlook Rule Client Only

Posted : admin On 27.07.2019

Why your Outlook rules might be client-only, and how to fix them Server-based rules. If you run Outlook as your email client and you get your email. Client-only rules. In general, client-only rules apply to data that's only on the client. Size of rules. A very serious limit that Outlook imposes.

Goal: Run all my client only rules. Total of 269.

Problem: Code runs a single rule at a time not all.

Solution Attempts/Ideas Tried: An array for my rules to run in a list. Ran into a few issues as I don't have much experience in compiling arrays.

Community
BlankBBlankB

2 Answers

You shouldn't check the rule name each time you iterate over all rules in the collection:

Outlook Rule Client Only Conditions

You may find the Getting Started with VBA in Outlook 2010 article helpful.

Eugene AstafievEugene Astafiev
19k2 gold badges10 silver badges26 bronze badges

You can apply client-only rules with .IsLocalRule.

nitonniton
5,6397 gold badges20 silver badges43 bronze badges

Not the answer you're looking for? Browse other questions tagged vbaoutlookoutlook-vba or ask your own question.

Whenever I add my script to a rule i have setup in outlook it sets my rule to client-side only. The rule is used to get a specific word in the subject line and a specific word in the body then move the email to a subfolder of the Inbox then run a script. The current rule runs when I receive the email by moving the email to the directed folder but the script does not run unless I manually click the rule to run now. How could I make it to where it would be processed on server side only so I won't have to manually run the rule to run the script. Here is my script below:

Outlook Mail Rule Client Only

Rule
SikRikDaRulaSikRikDaRula

1 Answer

I'll assume that your mailbox is on an Exchange server or Office365 (which is also Exchange).

Server side rules only work for a limited set of actions. Mostly those actions that are simple, like moving items, replying, etc.Anything more complicated than that becomes a client-only rule. In the case of a rule that runs a script, those will always be client-only rules because the script is actually part of, and executed by Outlook, not the mail server. So, even though the rule is stored in your mailbox, the execution is such that it requires Outlook to work some parts of the action.You'll see when you finish making a rule, on the last page of the rule wizard, it will indicate whether it is a client-only rule or not.

The only option for a server side rule using a script, or some code as at the server level as either a Transport Rule, or a Transport Agent.

I would suggest that you break up the action in to 2 parts, one that will be a server-side rule and will run with or without Outlook, then a rule that you can run 'on-demand' to do the more complicated bits. It's not fully automated, but at least you can get the items moved to some temporary folder and out of the way.

PowerMapiPowerMapi
Outlook client only rule error

Client Only Rule Outlook Meaning

Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Rule

Not the answer you're looking for? Browse other questions tagged vbscriptoutlook-2013 or ask your own question.