Link to home
Start Free TrialLog in
Avatar of Ryan Rood
Ryan RoodFlag for Canada

asked on

Exchange 2013 Transport Rule Disclaimer Extra Line Padding

Hello Experts,

Here is the scenario. I have a HTML page with my Exchange disclaimers set. However when it gets attached to a message it is adding padding to it when it spans more than one line.

The end goal is to not have it add extra spacing but I don't see why it is doing this when it doesn't do this in IE10.

An image is attached of what is happening, an html view in ie10, as well as the code that the disclaimer is using.

Any input would be appreciated.

Thanks in advance,
Ryan

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 10.00.9200.16660"></HEAD>
<BODY 
style="FONT-SIZE: 10pt; FONT-FAMILY: ARIAL; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; LINE-HEIGHT: 0.7em; PADDING-RIGHT: 0px; margin: 0px">
<P> 
<FONT style="FONT-SIZE: 6pt" face=Calibri><IMG border=0 hspace=0 
src="http://www.somewebsite.com/images/environment.png"><FONT 
style="FONT-SIZE: 6pt" color=#9bbb59>Please consider the environment before 
printing this email.<BR></FONT></FONT><FONT style="FONT-SIZE: 6pt">This e-mail 
transmission is strictly confidential and intended solely for the person or 
organization to whom it is addressed. It may contain privileged and confidential 
information and if you are not the intended recipient, you must not copy, 
distribute or take any action in reliance on it. If you have received this 
e-mail in error, please notify us as soon as possible and delete it.</FONT> 
</P></BODY></HTML>

Open in new window

email-screenshot.png
html-ie10-view.png
Avatar of Rob
Rob
Flag of Australia image

If only Outlook used the browser for rendering.... I'll takea look at your code but html and styling in email is very limited. More about using p tags rather than div. I'll dig up the ms link showing what's supported.
By the way,  what outlook client version are you using
the HTML isn't quite right either.  There are many ways to do it but lets start with this and let me know what it looks like:

<P style="FONT-SIZE: 6pt" color='#9bbb59' face='Calibri'>
<IMG border=0 hspace=0 src="http://www.somewebsite.com/images/environment.png">
Please consider the environment before printing this email.<BR>
</P>
<P style="FONT-SIZE: 6pt">This e-mail transmission is strictly confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information and if you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error, please notify us as soon as possible and delete it.
</P>

Open in new window

Avatar of Ryan Rood

ASKER

Using Outlook 2010 and OWA 2013.

Using your code (yes it is much smaller - mine was generated using a program I was testing with). It is identical in how it looks with the double space in between the disclaimer.
This is quite often what i've worked off: http://www.campaignmonitor.com/css/ They provide email marketing for the masses and have a lot of good information on their site.

This is also relevant for Outlook 2010 and provides information on the rendering engine and what html tags it supports:

http://msdn.microsoft.com/en-us/library/aa338201(v=office.12).aspx

I've used both of these in the past after banging my head against the wall for a while... :)
Ah that's right, this site is essential http://premailer.dialect.ca/ (currently has an issue but should be working soon)

You create the webpage conforming to all w3 standards (check here validator.w3.org) and only using the tags and css above.  Then posted the full page source into the premailer and it puts all the styles inline for the best chance at having the email display properly.  Remember it may not be looking good when you insert it in outlook but who knows how it looks to everyone else who gets the email....  We may get it looking ok without the space but you may find when your recipients get the email, the signature is all over the place, hence why i use these three tools to achieve the best compatibility.
ASKER CERTIFIED SOLUTION
Avatar of Rob
Rob
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you very much. :)

I will have to review the standards you linked in the previous posts. I am not a developer but obviously very handy to have a better understanding of these languages.
Not a problem.  You'd think if you use html tags and call them such then you would conform but MS moved from rendering the HTML of an email in IE to now using Word... go figure.
If you get stuck, keep it simple :)