reubendayal
Senior Member
- Outlook version
- Outlook 365 64 bit
- Email Account
- Office 365 Exchange
Hi All,
I am trying to auto assign categories to incoming emails. But these need to be applied on emails that match a certain criteria only for e.g. the sender's email address and a specific phrase in the subject line and the category applied to the email from the exchange server.
I need to assign these categories to those specific emails only, and these emails concern a specific case, but there are normally two emails that come per case and they usually arrive back to back. the categories I want to apply is basically to assign a team member's category color and this should follow a "round robin" or sequence style. So one case to team member "John" and the next 2 emails of the case to "Jane" and then back to john again and so on. Just so the workload is shared equally. The other problem is that the shared mailbox is used for general casework so there is a lot of emails that come to the mailbox. So I have now made a rule on the exchange server to assign a category "NewCase" to every new case email and also, to make a copy of it in a separate folder to keep track of whom the latest case was assigned to.
From the code on assigning categories "round robin" style from this page Use a Macro to Assign Messages in a Shared Mailbox I tried applying the VBA code in ThisOutlookSession using the GetFolderPath function, but that function has for some reason never worked for me. So I have now created a rule on my outlook client to run a script on incoming messages. And am trying to trigger the assigning of categories for the team from that script.
I have run in to several problems with the tweaked code I have so will not mess with that anyfurther, and would rather seek help.
At the moment I am able to get from the subfolder with the copy of the incoming case emails the category of whom the latest case was assigned. So to know whom should the new case emails in the inbox be assigned to. But I am quite clueless about where to go from there.
Please help!
Reuben
I am trying to auto assign categories to incoming emails. But these need to be applied on emails that match a certain criteria only for e.g. the sender's email address and a specific phrase in the subject line and the category applied to the email from the exchange server.
I need to assign these categories to those specific emails only, and these emails concern a specific case, but there are normally two emails that come per case and they usually arrive back to back. the categories I want to apply is basically to assign a team member's category color and this should follow a "round robin" or sequence style. So one case to team member "John" and the next 2 emails of the case to "Jane" and then back to john again and so on. Just so the workload is shared equally. The other problem is that the shared mailbox is used for general casework so there is a lot of emails that come to the mailbox. So I have now made a rule on the exchange server to assign a category "NewCase" to every new case email and also, to make a copy of it in a separate folder to keep track of whom the latest case was assigned to.
From the code on assigning categories "round robin" style from this page Use a Macro to Assign Messages in a Shared Mailbox I tried applying the VBA code in ThisOutlookSession using the GetFolderPath function, but that function has for some reason never worked for me. So I have now created a rule on my outlook client to run a script on incoming messages. And am trying to trigger the assigning of categories for the team from that script.
I have run in to several problems with the tweaked code I have so will not mess with that anyfurther, and would rather seek help.
At the moment I am able to get from the subfolder with the copy of the incoming case emails the category of whom the latest case was assigned. So to know whom should the new case emails in the inbox be assigned to. But I am quite clueless about where to go from there.
Please help!
Reuben