This article describes how to set up a mail flow rule that prepends a message that warns users that an email originated from outside your organization.
- Navigate to the following URL https://outlook.office365.com/ecp.
- Log in with global admin credentials.
- On the left navigation click 'mail flow'.
- On the top navigation select 'rules'.
- Click the '+' icon and select 'Create a new rule' from the dropdown menu.
- Near the bottom of the popup window click 'More options...'.
- In the 'Name:' field type a name for the rule.
- Under 'Apply this rule if' click the dropdown, click 'The sender...' and select 'is external/internal'.
- In the popup window under 'select sender location' select 'Outside the organization' and click 'OK'.
- Under 'Do the following' click the dropdown, click 'Apply a disclaimer to the message...' and select 'prepend a disclaimer'.
- Click the 'Enter text' link.
- In the popup copy and paste the HTML code from below into the text box and click 'OK'.
- Click on the link that says 'Select one' and select 'Wrap' from the dropdown.
- Under 'Properties of this rule:' keep the defaults selected.
- Under 'Choose a mode for this rule:' select 'Enforce'.
- Click 'Save'
HTML Code:
<div style="background-color:#FFFFE0; border:1px solid #303030; text-align: center; vertical-align: middle; line-height: 20px;">
<p style="font-size:12pt; font-family: 'Cambria','Times Roman',serif;"><span style="font-size:12pt; font-family: 'Cambria','Times New Roman','Garamond',serif; color:#ff0000; "> **| WARNING: This email originated from outside of your organization. Please do not click on links or open attachments unless you know the content is safe. |** </span> </p>
</div>