Every now and then time-dependant rule questions come up and today I took a few minutes to figure them out. The good news is, Exchange 2007 transport rules make this easy and seamless. The bad news is, Outlook 2007 can do this too but only as a client-based rules. This means that without Exchange 2007, time-dependant rules can fire only if an instance of Outlook 2007 is running.
Corey Powell asks:
I have a customer with 6 sales people. They have leads arriving via email to one email address. They want the â€œon-callâ€ person to receive all of the leads that come in for the period of time that that person is â€œon-callâ€.
So, how do you do this in Outlook 2007? Easy:
Click on Tools > Rules and Alerts > New > Check messages when they arrive > with specific words in the message header:
Forward it to people or distribution list and pick a user.
This will effectively forward messages received from 7:00 am – 10:59 am to the user or distribution list you specify. Repeat for the other 6 shifts with respective 4 hour windows.
Few notes: leading space is very important because some MTA’s use IPv6 which without a leading space can match the wrong part of the header. Furthermore, Outlook does not have the “and” operator (something that Exchange 2007 does in its transport rules stack) so if you receive mail from other time zones your filter may not work as intended.