Adding an HTML Banner to Outlook Message Encrypted (OME) Email

Summary

Microsoft Outlook Message Encryption creates an encrypted email that only an authorized recipient can decode and read. The message is converted from plain text to an unreadable ciphertext by either the client or a central server. The message remains unreadable in order to protect it from message interception. When the email is received the message is converted back into plain text by either the recipient’s client key, or a server will decrypt on behalf of the recipient after identity confirmation.

This type of encrypted message cannot be scanned by Inky or have Inky Banners applied in the traditional sense. Due to this, a work around can be applied to caution the end user that the message is encrypted and unscannable. The workaround involves creating a new transport rule.

Create Transport Rule

From the Exchange Admin Center navigate to Mail Flow → Rules → Add a rule:

Create the transport rule and set the priority to appear after IPW Processed Inbox - in this example the priority will be “5”:

Ensure the recipient is a member of the IPW-Group, the message type is PermissionControlled, and the banner is Prepended & the Priority is correct:

 

Click the Prepend editor icon below the prepend a disclaimer rule to begin editing the disclaimer:

Paste the following HTML code to create the disclaimer:

<!-- BEGIN:IPW --> <div style="display: block !important; display: block;"> <style type="text/css"> body { display: block !important; } td.ik-td { display: table-cell !important; background-color: #fff3cd !important; } span.ik-banner { display: inline !important; background-color: #fff3cd !important; } span.ik-footer { display: inline !important; background-color: initial !important; } span.ik-initial { display: inline !important; background-color: initial !important; } </style> <a name="ipw-begin"></a> <div class="ipw" style="text-align:left; line-height: initial; line-height: initial !important; padding: 8px 0px; background-color: white; display: block !important; display: block;"> <a name="ipw-middle"></a> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="display: table !important; display: table;"> <tbody style="background-color:#fff3cd !important; background-color:#fff3cd; display: table-row-group !important; display: table-row-group;"> <tr style="display: table-row !important; display: table-row;"> <td class="ik-td" bgcolor="#fff3cd" style="border-left: solid 10px #ffc107; vertical-align: top; line-height: 24px; background-color:#fff3cd !important; background-color:#fff3cd; display: table-cell !important; display: table-cell;"> <div style="margin: 10px 10px 10px 10px; text-align: left; line-height: initial; line-height: initial !important; background-color:#fff3cd !important; background-color:#fff3cd; display: block !important; display: block;"> <span class="ik-banner" style="font-size: 14px; font-family: sans-serif; vertical-align: middle; color:black; color:black !important; background-color:#fff3cd !important; background-color:#fff3cd; display: inline !important; display: inline;"> <font color="black" face="sans-serif" style="display: inline !important; display: inline;"> <b>Caution</b>: This email could not be scanned by INKY and may contain malicious content, links, or impersonation attempts. Do not interact with this email if you are not sure it's safe. </font> </span> </div> </td> </tr> </tbody> </table> </div> <br> <a name="ipw-end"></a> </div> <!-- END:IPW -->

Once the rule is applied, enabled and in the proper order, it should appear like this:

Emails that are now sent using Microsoft OME will appear like this: