Mail Flow - External Message Warning HELP

Anonymous
2019-02-11T17:13:35+00:00

Hello!

I'm trying to setup a mail flow rule for external email messages from non-organization addresses. I have it setup great, however I have it coded so that it displays the yellow background, red boarder etc and it displays perfect in a sample code viewer. However, when I add it to my rule and then send a test message to my email from outside the org, it doesn't display any of these colors. HELP?? I have included my code below. I'm using 0365

<div style="background-color:#FFEB9C; width:100%; border-style: solid; border-color:#9C6500; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:'Calibri'; color:Black; text-align: left;"><span style="color:#9C6500"; font-weight:bold;>CAUTION:</span> This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.</div><br>

Microsoft 365 and Office | Subscription, account, billing | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2019-02-11T19:26:52+00:00

Hi BH33,

Thanks for provide the details in your post. About your question, please kindly check following steps to see if it can help you fix this issue:

  1. In Exchange Admin Center, go to mail flow > rules and then click "+" to create a new rule.
  2. Then set the new rule like below picture:

Note: in step 4, please enter following code: 

<p><div style="background-color:#FFEB9C; width:100%; border-style: solid; border-color:#9C6500; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:'Calibri'; color:Black; text-align: left;"><span style="color:#9C6500"; font-weight:bold;>CAUTION:</span> This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.</div><br></p>

I have tested above rule on my side and I can successfully show the warning message(see below picture), if you have any problems when doing so, please feel free to post back and provide us a screenshoot of the detailed information about the rule you created for analysis.

Regards,

Jennifer

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

93 additional answers

Sort by: Oldest
  1. Anonymous
    2019-11-01T12:33:01+00:00

    Thank you for this!

    Next step is how can I only add this to unknown domains? I would like to have the rule ignored if the sender is from a list of specific domains.

    I guess what I really want is to whitelist some domains that bypass this rule but I see no way to add exclusions or create a new rule that allows a message to be processed to get what I'm after here.

    This is important because most of our mail comes from external senders. The real danger for us is applying this message so frequently that our users ignore it because most messages will contain it.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-11-07T05:14:27+00:00

    I would like to add a  line feed between the banner and the first line of text.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2019-12-04T10:35:07+00:00

    Thanks for this, however I found a problem that it seems to clash with the Anti-Phish 'Show tips for impersonated users'.  Both lose their formatting.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-01-08T06:36:39+00:00

    Works well for O365 business premium 

    Thanks

    Was this answer helpful?

    0 comments No comments