Customizing Office 365 OME messages

In my last article I wrote about automatically encrypting emails based on certain keywords. Now I have received a few requests about customizing the messages which are being sent to the receivers.

I did some research and there are a few customizations which you can make. The following article explains how you can customize your Office 365 OME messages with Powershell.

This is how the standard Office 365 OME Message looks like:

In my example i have used the following Powershell commands to get to the message as shown in the screenshot beneath. You can use the commands in the following Powershell modules:

  1. MSOnline use this module when you don’t use Multi Factor Authentication
  2. Exchange Online Powershell module use this module when you use Multi Factor Authentication
The text between the qoutes is free to fill in so you can choose your own texts and locations. I have marked the customizable text blue.
1.  Default text that accompanies encrypted email messagesSet-OMEConfiguration -Identity “OME configuration” -EmailText “Dear receiver this is a protected email message, Please click the following link to open the message.”
2. Disclaimer statement in the email that contains the encrypted messageSet-OMEConfiguration -Identity “OME configuration” -DisclaimerText “This email and any attachment to it are confidential. Unless you are the intended recipient, you may not use, copy or disclose either the message or any information contained within the message. If you are not the intended recipient, you should delete this email and notify the sender immediately. Any views or opinions expressed in this email are those of the sender only, unless otherwise stated.”
3. Add a custom logo to the header of your protected email

Set-OMEConfiguration -Identity “OME configuration” -Image (Get-Content “C:\Temp\logo.png” -Encoding byte)

Supported file formats: .png, .jpg, .bmp, or .tiff
Optimal size of logo file: less than 40 KB
Optimal size of logo image: 170×70 pixels

4. Text at the top of the encrypted mail in the viewing portalSet-OMEConfiguration -Identity “OME configuration” -PortalText “Encrypted email (TOP)”
5. Set accent color of the encrypted emailSet-OMEConfiguration -Identity “OME Configuration” -BackgroundColor “#1D73BE”

When you run the Powershell commands the changes will take effect immediately

This is how the message looks like after above customizations:

You may also like...

Leave a Reply