Forum Discussion
ByDesign1977
Jul 14, 2020Brass Contributor
Check Email Attachement Sensitivity label mail-flow rule
Hi All Is there a way that a mailflow rule can be used to check an attachments sensitivity label, if the attachments sensitivity label is higher than what the emails is set to then the emails sen...
- Jul 14, 2020
Hi, using the label GUID in conjunction with mail flow rules is really the only supported way of doing this sort of thing at the moment. Works pretty well in my experience.

Zied01
Feb 06, 2022Copper Contributor
Can i set a label to the email based on the attachement's label ?
Example if the file attachement's label is C2 so the email must be lableled with C2 also
Thnx
ByDesign1977
Feb 17, 2022Brass Contributor
Yes you can do this using mailflow rules:
Example below:
If the message...
Is sent to 'Outside the organization'
and attachment metadata properties contain these words: 'MSIP_Label_XXXXXXXX-XXXXX-XXXXX_Enabled:True'
Do the following...
Prepend the subject with 'HIGHLY CONFIDENTAL MESSAGE:'
and set message header 'MSIP_Header' with the value 'MSIP_Label_xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx'
Example below:
If the message...
Is sent to 'Outside the organization'
and attachment metadata properties contain these words: 'MSIP_Label_XXXXXXXX-XXXXX-XXXXX_Enabled:True'
Do the following...
Prepend the subject with 'HIGHLY CONFIDENTAL MESSAGE:'
and set message header 'MSIP_Header' with the value 'MSIP_Label_xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx'
- ByDesign1977Feb 17, 2022Brass Contributorset message header 'MSIP_Header' with the value 'MSIP_Label_xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx' needs to match the msip label of the attachement.