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
LVL 1
Ryan RoodAsked:
Who is Participating?
 
RobOwner (Aidellio)Commented:
Here is the markup conforming to the standards and the CSS specified in the previous links.  Are you meaning to have the line-height at 0.7em?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta content="text/html; charset=unicode" http-equiv="content-type">
<meta name="generator" content="mshtml 10.00.9200.16660">
</head>
<body>
	<div style="font-size: 6pt; font-family: Calibri; line-height: 0.7em; ">
		<img style="border: 0px" alt="" src="http://www.somewebsite.com/images/environment.png">
		<span style="font-size: 6pt; color=#9bbb59">
			Please consider the environment before printing this email.
		</span>
	</div>
	<span style="font-size: 6pt; font-family: Calibri; line-height: 0.7em; ">
		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.
	</span>
</body>
</html>

Open in new window

0
 
RobOwner (Aidellio)Commented:
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
0
 
RobOwner (Aidellio)Commented:
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

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Ryan RoodAuthor Commented:
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.
0
 
RobOwner (Aidellio)Commented:
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... :)
0
 
RobOwner (Aidellio)Commented:
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.
0
 
Ryan RoodAuthor Commented:
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.
0
 
RobOwner (Aidellio)Commented:
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 :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.