Today I Learned - Rocky Kev

TIL Gmail has a 102KB size-limit for HTML

POSTED ON:

TAGS:

Today I learned that Gmail has a 102KB size-limit for HTML.

After that it will truncate the email with the words “[Message clipped]” and a link to view the rest of the email. Needless to say, it’s not a great user experience and most users probably won’t click the link, so some of your email’s content won’t be seen by many recipients. The markup for an HTML table layout is massively bulky, and moving beyond them will help avoid messages getting clipped in Gmail. Meanwhile, some contemporary email code is such a dense mess of nested tables it can crash Outlook.

via https://fullystacked.net/posts/modern-html-email/

How to optimize it:

via https://www.emailonacid.com/blog/article/email-development/gmail-email-clipping/


Related TILs

Tagged:

TIL Gmail has a 102KB size-limit for HTML

PLACEHOLDER

TIL CSS Vulnerability in Yahoo Mail

CSS doesn't immediately fail on parse errors. In 2009 it turned out Yahoo Mail was vulnerable to a fairly simple exploit. The attacker sends the user one email with a snippet of code and another email to run the code

TIL an Email Address Regular Expression that 99.99% works

This is probably the closest we can get to the most perfect regex for validating emails.