Outlook rules - if/and/or statements?

%3CLINGO-SUB%20id%3D%22lingo-sub-1071546%22%20slang%3D%22en-US%22%3EOutlook%20rules%20-%20if%2Fand%2For%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1071546%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Eisn't%20it%20about%20time%20outlook%20upgraded%20their%20rules%20so%20that%20you%20didn't%20have%20to%20create%20separate%20rules%20for%20incoming%20and%20out%20going%20mesages%3F%3C%2FP%3E%3CP%3EHaving%20to%20create%202%20rules%20every%20time%20i%20want%20an%20email%20to%20and%2For%20from%20a%20certain%20person%20to%20go%20into%20a%20specified%20folder%20is%20surely%20counter-intuitive%20and%20productive.%3C%2FP%3E%3CP%3EHow%20hard%20could%20it%20be%20to%20re-script%20it%20to%20include%20'if'%2C%20'and'%2C%20'or'%20statements%20into%20the%20code%20so%20that%3A%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3EIF%3C%2FSTRONG%3E%20you%20receive%20a%20message%20from%20ContactA%20%3CSTRONG%3EOR%3C%2FSTRONG%3E%20you%20send%20a%20message%20to%20ContactA%20move%20that%20message%20into%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EConactA's%20folder.%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20that%20not%20better%20than%20separate%20rules%20for%20every%20person%3F%3C%2FP%3E%3CP%3EMy%20VBscripting%20back%20in%202004%20could%20achieve%20that%20(can't%20remember%20a%20thing%20about%20it%20now%20though).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20love%20to%20hear%20your%20thoughts%20on%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi,

isn't it about time outlook upgraded their rules so that you didn't have to create separate rules for incoming and out going messages?

Having to create 2 rules every time i want an email to and/or from a certain person to go into a specified folder is surely counter-intuitive and productive.

How hard could it be to re-script it to include 'if', 'and', 'or' statements into the code so that:
IF you receive a message from ContactA OR you send a message to ContactA move that message into ContactA's folder.

 

Is that not better than separate rules for every person?

My VBscripting back in 2004 could achieve that (can't remember a thing about it now though).

 

Would love to hear your thoughts on this.

 

Cheers :)

 

 

13 Replies
create a rule in Outlook:

Click the File tab in the navigation ribbon.
Click Manage Rules & Alerts.
Click New Rule on the E-mail Rules tab in the Rules and Alerts dialog box.
Proceed to Step 1: Select a template.
Choose a template from either the Stay Organized or Stay Up to Date list of rule templates.
Proceed to Step 2: Edit a rule description.
Click on the underlined value.
Click Next.
Choose the message conditions you prefer under Step 1: Select conditions.
Click on presented underlined values from your selected conditions.
Enter in specifics for the underlined values under Step 2: Edit the rule description.
Click Next.
Choose exceptions to the rule under Step 1: Select exception(s).
Click Next.
Choose values for underlined text under Step 2: Edit the rule description.
Click Next.
Enter a name under Step 1: Specify a name for this rule.
Select additional actions under Step 2: Setup rule options.
Click Finish.

@alenezi 

err thanks for the copy’n’paste but that just explains how to create a rule. It’s not really what is asked.

Has this been done by now or is this still impossible? I don't see any way to do it, but maybe I'm just blind. I find it odd that not more people have liked/replied to this request. It's such a massive inconvenience.

It is very disappointing that Outlook doesn't have this basic feature. Even mail servers from 90th have it. Right now it is only AND statement. So if you need to do something with emails like moving in a folder emails from 2 senders, you can't do email1 OR email2, you must create 2 rules.
Also, you can't use something like "do something with emails from addresses *@some.com", only specify the particular address. (SOLVED) 

It is possible via "Keywords -> Sender Address Includes"

Hi @oleksiikrutilko,

 

1)  why do you compare "mail servers from 90th" with email client?

 

2)  your statement

Also, you can't use something like "do something with emails from addresses *@some.com", only specify the particular address.

is wrong.  Did you ever see "with specific words in the sender's address" condition? 

 

 

 

 

Hi. Thanks for the fast answer.
1. I assume that rules should be applied on the server side. If no, why does the desctop client load rules ~3-5 sec? If I'm wrong, client and server have different rules, can I create rules on server side with more advanced conditions?
2. I agree, there is such condition "Keywords -> Sender Address Includes", I've missed this because I tried to find it under "From" field.

Hi again @oleksiikrutilko,

please explain in details what exactly you are trying to achieve and I'll try to suggest something. 

I'd like to have the ability to create a rule with OR for example:
move all emails with [Confluence] OR (confluence) in Subject to some folder.
Now I should create 2 separate rules with Subjects.
Another example, my company sends internal news emails time after time, so I'd like to move all these emails in some specific folder and mark as read. Again is it close to 5 Subjects == 5 rules.
Github notifications, I'd like to route them by projects, like important/not important, again each project == 1 rule.
Now I have ~20 rules, and this is not the end :)

If I understood correctly, if I add a few strings in a subject, it will be AND, so rule will work only if all these strings will be there

In fact there is OR:

 

rule1.png

Thanks. I use the new UI desktop client, it doesn't have these options but has other similar ones. Also, I'd like to mention that the old UI has a different interface with rules, and it has "is" or "contains" for From/Subject/etc. So as a workaround I can switch to the old UI, make rules and switch back.
What client do you mean? My screenshot shows Outlook for Windows.
I guess you are running Outlook for Mac ;)

@Victor Ivanidze Yes, for Mac.

 

Sorry I know almost nothing about Outlook for Mac.
Looks like you met a limitation of MS client software.