Share via

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: Most helpful
  1. Anonymous
    2021-10-14T01:46:27+00:00

    Hi all,

    We decided to implement the prepended warning in our organisation but were unaware of the issue impacting the preview in outlook (I have it turned off so didn't pick up on it during my testing). After a couple of people had mentioned it we began investigating and it appears we are definitely not alone with the problem so after a day of googling and getting nowhere I finally found a sneaky workaround that lets us have our cake and eat it too!

    So here we have some external emails with the normal preview

    and our email with our disclaimer :)

    I noticed that the preview looks for information between html tags and removes any of the html formatting. So we created our prepended disclaimer using the following code

    <TABLE id="footer" style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=5 border=0>

    <TBODY>

    <TR>

    **&lt;TD bgColor=#ffc000&gt;&lt;/TD&gt;** 
    
    **&lt;TD bgColor=#ffff66 width="100%" style="font-size:10pt; color:#000000"&gt;&lt;input disabled style="background-color:#ffff66; border:0; width:100%; font-size:10pt; color:#000000" value="[Caution: External Email] This email was sent from outside the organisation - be cautious, particularly with links and attachments."&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;**
    

    The key for this to work was applying the disclaimer as a default value for an input field allowing the disclaimer to hide in formatting which displays on the email but is removed from the preview. There may be alternative or similar methods that may produce a cleaner result but for us this does the job. I hope this helps out those who have come across this issue and can now deliver a solution that keeps us IT administrators happy and our users!

    Thanks

    Brad

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2019-06-07T14:21:17+00:00

    I noticed when I was testing I was using my cell phone. When I tested from an external email using a pc the colors showed.

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2019-10-23T15:37:38+00:00

    Is there anyway to get this message to show up above or below the signature and not at the top of the email?

    Just use "append a disclaimer" instead of "prepend a disclaimer" but keep the rest of the steps the same.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2019-06-07T14:14:02+00:00

    I have no color either. I did copy and paste from the above instructions. 

    <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>

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments