• Features
    All Features Email Previews
    Builder Checklist Spam Testing Email Analytics Litmus Extension
  • Pricing
  • Resources
    Resources Litmus Conference Convince Your Team Gmail Promotions Builder
  • Enterprise
  • Community
    Discussions Snippets Templates Jobs
  • Blog
  • Sign In
  • Litmus
  • Features
  • Pricing
  • Resources
  • Enterprise
  • Blog
  • Community
  • Discussions
  • Snippets
  • Templates
  • Jobs
  • My Account
  • Sign In
  • Community Home
  • Discussions
  • Learning
  • Snippets
  • Templates
  • Jobs
Avatar of Mark RobbinsMR

Mark Robbins

  • Email developer at Rebelmail
  • Brighton, UK
  • http://rebelmail.com/

Love to code Work for rebelmail.com Personal site emailcodegeek.com

Joined on May 28, 2013
    Replied to Discussion: Outlook iOS trashing no longer responsive by Mark Robbins 2022-03-15 09:40:42

    There is a new bug in Outlook iOS listed here that might explain the issues you are seeing https://github.com/hteumeuleu/email-bugs/issues/112

    Replied to Discussion: Outlook.com - Webmail - Hiding Content - update? by Mark Robbins 2022-02-28 17:20:55

    You need to make sure you apply the x_ class as an attribute selector.

        <style>
          [class~="x_foo"]{display:none}
        </style>
        <div class="foo">hide in outlook webmail</div>
    

    Also this website is very good at staying up to date on the latest email client targeting https://howtotarget.email/

    Replied to Discussion: Different results with same code in Yahoo & AOL using labels by Mark Robbins 2022-01-27 12:43:03

    Interesting, from what I've seen Yahoo and AOL are almost exactly the same.

    Even the CSS prefix structure is the same yiv[number]class{}

    What I would do is

    • Open the email in both clients and pull out the rendered code using dev tools.
    • Do a find a replace on the CSS prefix (replace yiv2295535647 with yiv)
    • Paste both bits of code into https://www.diffchecker.com/diff
    • And differences in the code should be highlighted.

    One other possibility is it could be some default styles from the email client inherited into your code, for example Yahoo adds word-break: break-word; word-wrap: break-word; to the message wrapper but AOL doesn't. Not sure what other differences there are but might cause an issue somewhere.

    Also if you are able to share you code here, I could maybe take a quick look.

    Replied to Discussion: Interpreting Conflicting Test Results by Mark Robbins 2021-12-13 09:39:41

    It could be worth running an A/A split test.

    So set it up exactly like you would a normal A/B split test but both versions are exactly the same.

    This will give you an idea of the natural fluctuation in the results, then use that as a baseline to compare your tests against.

    It could be that the change you are making isn't having much impact and the conflicting results you are seeing is just this natural fluctuation.

    Replied to Discussion: Maximum number of characters of inline <style> css for Gmail app? by Mark Robbins 2021-11-19 12:43:13

    Yeah Gmail sets a limit of about 16kb on embedded CSS. There are a few things you can do to help with that.

    1. Minify - remove unnecessary whitespace from around your styles. You can do this manually or use some tool, but be sure you use something built for email rather than web to avoid any issues.

    2. Uglify - change class names to shorter potentially unreliable names, so .two column layout{} could become .col2{} or even .a{}. Again you can do this manually or with some email specific tooling.

    3. Use multiple style blocks - If you have multiple <style> blocks Gmail will only start removing when the total size is over 16kb.

    So for something like this

    <head>
      <style>
        /* 5kb basic layout styles */
      </style>
      <style>
        /* 10kb make it look cool */
      </style>
      <style>
        /* 10kb elaborate fancy stuff */
      </style>
    </head>
    

    The first 2 blocks add up to 15kb so those will be kept, then the third one and any after it will be removed as that pushed is over the limit. It's good to group the styles so if one block is removed it still looks good.

    If you looking for a tool to help with minify and uglify i think https://emailcomb.com is pretty good

    Replied to Discussion: Outlook for iOS is removing padding and styling from our e-mail by Mark Robbins 2021-11-03 17:46:29

    Thanks for checking that @Elin Pedersen

    There appears to have been another change between version 4.2124.0 and 4.2142.0

    So now you need 2 id’s to make it work and these need to be on separate elements.

        <div id="id1">
          <div id="id2">
            Phone number: 0123456789
          </div>
        </div>
    
        #id1 #id2 a[x-apple-data-detectors]{
          color: inherit !important;
          text-decoration: inherit !important;
        }
    
    Replied to Discussion: Outlook for iOS is removing padding and styling from our e-mail by Mark Robbins 2021-11-03 15:19:19

    @Elin Pedersen Try this stripped back test and see if that works.

    I've added outline:2px dashed red; just so you can see if the selector is working.

    If this is working then the may be something else in your template that is interfering with the code.
    If it's not working then let me know what version of the app you are using (it's under settings > help & feedback) I'm currently on version 4.2124.0

    <!DOCTYPE html>
    <html>
    <head>
      <style>
        #body a[x-apple-data-detectors]{
          color: inherit !important;
          text-decoration: inherit !important;
          outline:2px dashed red;
        }
      </style>
    </head>
    <body id="body">
            Phone number: 0123456789
    </body>
    </html>
    
    Replied to Discussion: Countdowns after iOS15 Update by Mark Robbins 2021-11-03 15:06:58

    iOS 15 can be targeted with this bit of CSS from howtotarget.email

    @supports (-webkit-overflow-scrolling:touch) and (aspect-ratio: 1) { 
      .countdown {
        display:none;
      }
    }
    

    Any workarounds to force an update are likely to be be shut down quickly, so could break halfway through your campaign so I'd advise against try that.

Litmus Logo
    Company
  • Team
  • Customers
  • Careers
  • Contact
  • Brand
    Product
  • Features
  • Pricing
  • Enterprise
  • Extension
    Tools
  • Events
  • Labs
  • Scope
  • Resources
    Help
  • Knowledgebase
  • Status
  • Community
  • Trust
Subscribe to our emails

Copyright © Litmus Software, Inc. 2005-2022. 675 Massachusetts Ave., 11th Floor, Cambridge, MA 02139. View our Terms of Service or Privacy Policy. Send us a note to hello@litmus.com or give us a call at +1 (866) 787-7030

Sign in to Community

Are you new to Litmus Community?

Create a Free Litmus Account

Use your existing Litmus login to connect with the world’s most amazing email designers.

Having trouble signing in? Try Forgot password

Join the Litmus Community

Sign up to Community

Litmus uses the information you provide us to bring you great content about email marketing trends, stats, events and relevant products and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy
Already have a Litmus login? Sign in

Get more out of your Litmus account

Your free Community account includes access to the Litmus Community, as well as limited access to Litmus Builder. Check out the entire Litmus Email Creative Platform when you sign up for a free 7-day trial.

  • Email Previews

    Get 2,000 screenshots/month in popular email clients, including key international webmail clients, to ensure your emails look great everywhere.

  • Builder

    Quickly identify issues pre-send that could impact your deliverability—and get actionable advice for how to fix them.

  • Checklist

    Get screenshots in popular email clients to ensure your email looks great everywhere.

  • Code Editor Integrations

    Preview and troubleshoot your emails right where you build with seamless integrations between Litmus and any local code editor, like Dreamweaver or Sublime.

  • ESP Integrations

    Save time producing and troubleshooting your campaigns with seamless integrations between Litmus and your email service provider (ESP).

  • Spam Testing

    Quickly identify issues pre-send that could impact your deliverability—and get actionable advice for how to fix them.

  • Email Analytics

    Optimize your campaigns with subscriber-level insights to improve segmentation and targeting strategies.

  • Private Litmus Teams

    Get full team visibility. Manage Litmus access and monitor usage across private teams.

No thanks, just sign me up without a trial

Forgot password

Enter your email address to reset your password


Already have a Litmus login? Sign in