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
    2020-01-30T20:21:49+00:00

    Thank you for the reply.  We are working great and it is exactly what the customer wanted.  Our issue was mail routing and it was hitting the rule twice that was why we were seeing two banners.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-02-17T04:17:35+00:00

    Great tips Thanks for sharing. I just created and activated this rule at 11 PM local time but it's showing that it will activate at 4 AM tomorrow. Any ways to make it faster?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-02-18T16:51:11+00:00

    If you're in Eastern Time, I presume the Edit window is probably local time and the preview window is probably UTC, which explains the 5 hour difference.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-03-12T23:08:29+00:00

    Hi there - thanks for the code - it worked a treat. 

    On regular emails the new disclaimer message appears just as intended.  It also appears in the inbox email list in the preview, also as intended. 

    But interestingly, on some marketing emails the disclaimer is hidden in the preview and when the email is opened.  But if you choose the "View in browser" option then the disclaimer appears.  The image here shows what one email looks like viewed normally (no disclaimer can be seen) and below that is the "View in browser" option, where the disclaimer appears. Any thoughts on why this may be happening? 

    Was this answer helpful?

    0 comments No comments