Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MailChimp HTML Outlook Conditions

I have spent most of the afternoon trying to find a solution to this problem.

I have a HTML Email template that works fine on most devices but when viewing on Outlook 2013 (the only Outlook version I have access to to test it) it renders like a mobile device. I think I have tracked it down to the Outlook Conditions that i have contained in the code.

<!--[if (gte mso 9)|(IE)]>
<table align="center" border="0" cellspacing="0" cellpadding="0" width="500">
<tr>
<td align="center" valign="top" width="500">
<![endif]-->

However when I open the email in Outlook, they have been changed to:

<!--/*SC*/ [if gte mso 9]>
<center>
<table><tr><td width="580">
<![endif] /*EC*/-->

I guess that it stands for SC = Start Comment and EC = End Comment.

Am I right in saying that these are interfering with the Outlook Conditions? Dose anyone know how i can stop MailChimp from putting them in my template?

like image 488
GizmoAttwood Avatar asked Sep 22 '16 15:09

GizmoAttwood


1 Answers

After more inspection on our side we found out that our client receiving these emails had a middleware altering all emails coming to their network, and modifying conditional comments. If it is any help to anyone, that's great :) it might be the solution to the problem only for us though...

like image 194
alxscms Avatar answered Sep 27 '22 21:09

alxscms