VBA code to set Sensitvity Tag to Private based on a certain recipient in the recipient lines in Outlook
Posted on 2016-10-20
I am trying to figure out if there is a way when one of my users creates an email to a certain email group, say Friends, that the new email message will automatically set the Sensitivity Tag to Private and display a message that it was set and not allow it to be changed? Or another possible approach would be that when the user tries to send the email with that group in one of the recipient lines it will check to see if Sensitivity Tag is set to Private and if not, it would pop up a message telling them to set it and not let the user send the email until that tag is set. The message would continuously pop up when the user tries to send until the tag is set.
I would imagine this can be done, but I haven't coded VBA in a long time and never for Outlook.