Link to home
Start Free TrialLog in
Avatar of Jason Shaw
Jason Shaw

asked on

Exchange Transport Rule Prepend Disclaimer not showing html formatting

Office 365 Exchange Online Transport rules: I am attempting to prepend incoming emails with warning to our users. I am able to see plain text warning but html formatting is not coming through on emails. I am using code below..

<html>
<body>
<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>
</body>
</html>


Any ideas on how to get this to show up correctly in Outlook?


Example of formatting referred to in question
User generated image
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Remove the <html> and <body> tags. The example you have attached also uses a table, so make sure you're copying the exact formatting. And keep in mind that different email system might strip the remaining tags.

</table>
<table border="1" width="200" cellspacing="0" cellpadding="10" align="center" bgcolor="yellow">
<tbody>
<tr>
<td nowrap="nowrap">[EXTERNAL]: 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.</td>
</tr>
</tbody>
</table>

Open in new window

Avatar of Jason Shaw
Jason Shaw

ASKER

Would Exchange Online strip away html formatting for some reason and if so, is there a change that can be made in configuration to keep formatting in place?
The example I posted above is safe to use with Exchange Online.
I am not as familiar with HTML as I should be. Is there a way to change font and font size?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.