I found a snippet of code that allows me to target clients that have outlook 2007 or higher.
Is there an
To prevent statements being stripped in outlook.com, change <!-->
to <!-- -->
-
<!--[if !mso]><!-- -->
All Except MSO 07-13
<!--<![endif]-->
That's not how you have to use it. Instead it is, for everything except Outlook
- normal routine, for Outlook
- do specific. Not the other way around like you're trying to do.
That's is a solution:
<!--[if !mso]><!-->
content without use in IE or Outlook
<!--<![endif]-->
I think so you can first resolve in IE, Outlook and denied with this for putting the elementss for all differents clients for email without Outlook.
regards
Super late response, but hopefully this will help someone. This worked for me:
<!--[if !gte mso 9]><!---->
<p>I'm not Outlook 2007/2010.</p>
<!--<![endif]-->
Edit: Answered above, but extra tags on the IF statement are to hide the tags from being revealed in IE7/8.
Microsoft defines a way to write conditional HTML that will be revealed in those clients that don't understand Microsoft's proprietary "conditional comments":
<![if !mso]> HTML meant for non-Outlook clients <![endif]>
They call it a "downlevel-revealed conditional comment", though it's not actually a comment at all, since comments start with <!--
. Microsoft Office and Internet Explorer process the conditional statement (!mso
evaluates false in Outlook), while other clients ignore the unrecognized tags. See Microsoft's documentation on conditional comments.
Try this:
<!--[if !mso]>-->
content targeted at non-outlook users goes here...
<!--<![endif]-->