<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Ballontekst Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.E-mailStijl17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BallontekstChar
{mso-style-name:"Ballontekst Char";
mso-style-priority:99;
mso-style-link:Ballontekst;
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I’m currently working on e-mailtemplates to make our outgoing mail to be sent in HTML. I want to be able to set a certain font, fontsize and use a logo in the signature. So far everything works just the way I want it,
except for one thing. When a message is received in Microsoft Outlook, it breaks down my styles. It reverts the font back to Times New Roman, and it also doesn’t seem to care about fontsizes (although I’m not very sure about that yet). This is the template
I’m currently using: <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">From: KPN Abuse Team <abuse@kpnmail.nl><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">RT-Attach-Message: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Content-Type: text/html<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><span style="font-family: Verdana, Geneva, sans-serif; font-size: 12px;"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> {$Transaction->Content(Type => 'text/html')}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /><br /><o:p></o:p></p>
<p class="MsoNormal"> Met vriendelijke groet,<br /><br /><o:p></o:p></p>
<p class="MsoNormal"> <span lang="EN-US">Raymond<br /><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"></span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’ve been searching the interwebs a lot on this issue, and I’m glad to see I’m not the only one experiencing this issue. Some say you have to add the style information in the <p>-tags on every line of text (which is
not really the solution I’m looking for), or you need to put the code posted below in the code of the e-mail:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><!--[if mso]><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><style type="text/css"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">body, table, td {font-family: Verdana, Geneva, sans-serif !important;}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"></style><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><![endif]--><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The problem there is that if I put this code in my template, just above the Transaction content, RT is saying this: “Couldn't compile template codeblock 'font-family: Verdana, Geneva, sans-serif !important;': syntax error
at template line 7”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there an easy way to fix this? <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Raymond<o:p></o:p></span></p>
</div>
</body>
</html>