In the template, everything is considered part of the message headers until
there’s a blank line. The style declaration should be immediately after that
blank line. For example, my autoresponse template looks like:
Subject: AutoReply: {$Ticket->Subject}
Content-Type: text/html
<style>
p.MsoNormal, li.MsoNormal, div.MsoNormal
{q{{
margin:0in;
margin-bottom:.0001pt;
}
}}
</style>
<p>Greetings,</p>
The same would apply to any other styles you wanted to use in the template.
From: rt-users [mailto:[email protected]] On Behalf Of
Vlad Shpolyanskiy
Sent: Wednesday, April 29, 2015 9:36 AM
Cc: [email protected]
Subject: Re: [rt-users] Optimization for Outlook HTML
Hi Gilmore!
Could you specify where exactly you put style declaration for template.
I tried to add it just after "Content-Type: text/html" string, but it does not
work.
Thanks.