<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#20124d">Hi Jules and Ricky.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#20124d"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#20124d">I&#39;ve tested what Ricky mentioned and it worked (I can change the background to whatever color I want) so I assume Outlook isn&#39;t looking at the CSS block Jules added to the template.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#20124d"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#20124d"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#20124d">Thank you so much for your attention.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#20124d"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:#20124d">Everton Bernardi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 6:31 AM, Jules <span dir="ltr">&lt;<a href="mailto:Jules@zend.to" target="_blank">Jules@zend.to</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">But I already override that CSS property at the top of<br>
email_header_html.tpl:<br>
<br>
&lt;html&gt;<br>
&lt;head&gt;<br>
   &lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;<br>
   &lt;style&gt;<br>
     {fetch file=&quot;../www/css/{#CSSTheme#}.<wbr>css&quot;}<br>
     {fetch file=&quot;../www/css/local.css&quot;}<br>
     {* Plus stuff we want to override for the emails *}<br>
     {fetch file=&quot;../www/images/{#<wbr>CSSTheme#}/background.png&quot;<br>
assign=&#39;background&#39;}<br>
     body {<br>
       background-image:<br>
url(data:image/png;base64,{$<wbr>background|base64_encode});<br>
     }<br>
<br>
The {fetch} instructions are done on the ZendTo server as the email<br>
address is created. So the background-image is embedded as a data URI in<br>
the email message (which PHPMailer may convert to an attachment, which<br>
may be the cause of the problem).<br>
<br>
So even though the Outlook client cannot fetch the original URL<br>
mentioned in the CSS, that property is overridden by an explicit CSS<br>
statement before the message body ever starts. And it *does* have the<br>
image that is mentioned in the new value of the &quot;background-image&quot; property.<br>
<br>
So I think I&#39;m saying that what I&#39;ve written *should* work, according to<br>
the rules. Whether Outlook is following the rules, that&#39;s another matter<br>
entirely.<br>
<br>
I must admit I only tested it on Thunderbird, where it works perfectly.<br>
<br>
Any thoughts, anyone?<br>
<br>
Cheers,<br>
Jules.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 08/05/2017 18:42, Ricky Boone wrote:<br>
&gt; I can see the same behavior in Outlook 2010.  This appears to be due<br>
&gt; to the default CSS embedded in the message:<br>
&gt;<br>
&gt; body {<br>
&gt; font-family: &quot;Helvetica Neue&quot;, Helvetica, Verdana, Arial, sans-serif;<br>
&gt; background-repeat: repeat;<br>
&gt; background-image: url(../images/swish/<wbr>background.png);<br>
&gt; background-color: #cbcccd;<br>
&gt; font-size: 10pt;<br>
&gt; margin:0;<br>
&gt; }<br>
&gt;<br>
&gt; Note, the background image doesn&#39;t work since it is a relative path,<br>
&gt; so you end up with just #cbcccd.  This seems to be dictated by<br>
&gt; ./www/css/swish.css and ./templates/email_header_html.<wbr>tpl.  Not sure<br>
&gt; why it doesn&#39;t work in Gmail (or OWA 2013 from my environment), but I<br>
&gt; suspect it&#39;s due to either CSS processing rules within Gmail.  I<br>
&gt; remember seeing somewhere that there are some limits on CSS style<br>
&gt; block sizes, content, etc.<br>
&gt;<br>
&gt; Since the template appears to be pretty flexible, you should be able<br>
&gt; to edit the files to make them look the way you&#39;re wanting/expecting<br>
&gt; them to look.<br>
&gt;<br>
&gt; On Mon, May 8, 2017 at 10:51 AM, Everton Bruno Bernardi<br>
&gt; &lt;<a href="mailto:ebbernardi@gmail.com">ebbernardi@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hello Jules.<br>
&gt;&gt;<br>
&gt;&gt; First of all I would like to thank you so much for all the improvements<br>
&gt;&gt; you&#39;ve made to ZendTo! It&#39;s now a lot easier to setup and the HTML e-mails<br>
&gt;&gt; are a real upgrade!<br>
&gt;&gt;<br>
&gt;&gt; I noticed a strange behaviour of HTML formatting for messages sent by ZendTo<br>
&gt;&gt; in Microsoft Outlook.<br>
&gt;&gt;<br>
&gt;&gt; Please take a look at the image <a href="http://imgur.com/h0xDEuR" rel="noreferrer" target="_blank">http://imgur.com/h0xDEuR</a><br>
&gt;&gt; The grayish content doesn&#39;t appear in GMail.<br>
&gt;&gt;<br>
&gt;&gt; Am I missing something?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Kind regards.<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Everton Bruno Bernardi<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; ZendTo mailing list<br>
&gt;&gt; <a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
&gt;&gt; <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/zendto</a><br>
&gt; ______________________________<wbr>_________________<br>
&gt; ZendTo mailing list<br>
&gt; <a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
&gt; <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/zendto</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">Jules<br>
<br>
--<br>
Julian Field MEng CEng CITP MBCS MIEEE MACM<br>
<br>
&#39;The past is supposed to be a place of reference, not a place of<br>
residence! There is a reason why your car has a big windshield and<br>
a small rearview mirror. You are supposed to keep your eyes on where<br>
you are going, and just occasionally check out where you have been.&#39;<br>
   - Willie Jolley<br>
<br>
<a href="http://www.Zend.To" rel="noreferrer" target="_blank">www.Zend.To</a><br>
Twitter: @JulesFM<br>
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/zendto</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="georgia, serif"><i><a href="http://google.com/+EvertonBrunoBernardi" target="_blank">Everton Bruno Bernardi</a></i></font><br><br><br></div></div>
</div>