Coder Social home page Coder Social logo

Comments (11)

DarkDust avatar DarkDust commented on June 3, 2024 6

There's a workaround we're using in Mail Designer 365: Outlook doesn't understand display:none;ยนโพ but T-Online does. So you can do:

<p>Renders everywhere.</p>
<!--[if mso]>
<p style="display:none;">Renders in Outlook only.</p>
<![endif]-->
  1. AFAIK, Outlook only understands display:none; on TABLE elements.

from email-bugs.

longtowner avatar longtowner commented on June 3, 2024 2

@adrianthomas yes Outlook 365 supports it at least for <center> elements. i tried it today. I had to hide the Text inside a VML Button (https://buttons.cm/) because T-Online shows the Button Text twice.

from email-bugs.

NivenRanchhod avatar NivenRanchhod commented on June 3, 2024 2

It looks like this issue has been rectified. No mso content is being rendered, as far as I can see ๐ŸŽ‰

from email-bugs.

calebrauxa avatar calebrauxa commented on June 3, 2024 1

Thanks so much for documenting this and making my life easier today.

from email-bugs.

brunorilla avatar brunorilla commented on June 3, 2024

Is there any solution for this?

from email-bugs.

M-J-Robbins avatar M-J-Robbins commented on June 3, 2024

@DarkDust ah that's clever worth adding to the list here if you can https://howtotarget.email/

Also to target just T-Online you can use <!--[if false]> T-Online <![endif]-->

from email-bugs.

longtowner avatar longtowner commented on June 3, 2024

new Outlook Clients support display: none, that's why we need an additional <!--[if mso]>p.target-class {display: block !important}<![endif]--> to show the content, if it's hidden. t-online keeps the content hidden, because it deletes all the <style> Blocks

from email-bugs.

adrianthomas avatar adrianthomas commented on June 3, 2024

@longtowner

new Outlook Clients support display: none, that's why we need an additional <!--[if mso]>p.target-class {display: block !important}<![endif]--> to show the content, if it's hidden. t-online keeps the content hidden, because it deletes all the <style> Blocks

You mean they support display: none outside of tables? Which clients, the new iOS Outlook?

from email-bugs.

SpecOps12 avatar SpecOps12 commented on June 3, 2024

@longtowner You made my day! Works like a charm ๐Ÿช„

from email-bugs.

M-J-Robbins avatar M-J-Robbins commented on June 3, 2024

Nice, thanks for sharing @NivenRanchhod this is great news

from email-bugs.

cygro avatar cygro commented on June 3, 2024

Unfortunately, T-Online has released a new preprocessor. The new one removes all comments, including all conditionals as well as all <style> blocks. The source of the email of which I've attached the code contains several <style> blocks as well as conditionals (some using the <!-- [if tonline]> hack). It's all removed :-(
t-online_source

from email-bugs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.