I have a user that would like to have email messages from employees in the company automatically be delivered to a certain folder in Outlook.
email@example.com --> gets delivered to john.smith outlook folder.
firstname.lastname@example.org --> gets delivered to jack.reed outlook folder
He is creating a new rule for every user, over 300! I would like to create a vba script to run as a rule and only have one rule.
-This would only be for abc.com domain
- If abc domain then deliver to users folder
- if the users folder does not exist then create it.
I don't have a lot of experience with vba and outlook(vba) but know visual basic. Could someone point me in the right direction to work on this code.
Thanks in advance.