Forum Discussion
Outlook rules - if/and/or statements?
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.
- NathanaelEpicMar 07, 2023Copper Contributor
Here's what I would like to do:
I would like to change this "and" to an "or" because creating 5 different rules to exclude 5 categories is inefficient when an "or" would be so much better.
- amiranda72Jul 20, 2023Copper Contributor
NathanaelEpic What about changing the OR to AND with recipients?
If you have two accounts, you may want to create a rule for each, in order to store the emails addressed to each of them in a specific folder.
But then, if a single email is addressed to both, you'll get a double copy of it in one of these folder, and no copy of it in the other one.
But if you try creating another rule stating what should happen if an email has both the addresses as recipients,You only get a rule with the or statement:
How can I set a rule condition based on an email sent to both my email addresses, in order to have a single copy of them stored in each account's specific folder?
- Victor_IvanidzeJul 22, 2023Bronze Contributor
Hi amiranda72,
you cannot.
- Victor_IvanidzeMar 08, 2023Bronze Contributor
If you are ready to pay, I'll create a Power Automate flow with this functionality.
- AlyssaL036Mar 08, 2023Brass Contributor@VictorIvanidze Don't make him pay for such a simple flow that would take 5 minutes to make! Just send a screenshot of it! Geez.
- oleksiikrutilkoJun 09, 2021Copper Contributor
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
- Victor_IvanidzeJun 09, 2021Bronze Contributor
In fact there is OR:
- rbratton65Jul 04, 2024Copper Contributor
That is not a solution. It allows you to do an "OR," but only for the same field. For example, you can specify emails that are From Bob OR Alice, where both conditions are From, but you can't specify things like this:
Emails From Bob OR To Alice
Emails From Bob OR To Bob
Emails that are From Bob OR contain "sales" in the Subject.