Thanks to an interesting quirk in the way Apple Watch handles email content, users willing to brave a little HTML code can include "hidden" versions of a message specifically formatted for the device.
Discovered by Dan Foody, a user of email testing, preview and analytics service Litmus, the Apple Watch-specific email scheme takes advantage of an idiosyncrasy in Apple's solution for delivering and displaying HTML.
As Litmus explains, Apple Watch only displays the plain text portion of an email, ignoring complicated HTML like remote images in an effort to save processing cycles and uptime. In fact, email content is first translated from HTML to rich text by a paired iPhone before being sent over to Watch.
Emails usually contain both HTML and plain text elements with Content-Type designations text/html and text/plain, respectively. With Watch, Apple implements a fallback — text/watch-html — for purposes of replacing complex HTML content. Including an unsuitable HTML element, like a remote image, will force Apple Watch to fall back to plain text and the suitable Content-Type text/html-watch, which results in a rich text-like formatting completely transparent to readers on other devices.
There is a catch, however. Only a handful of email service providers support Watch HTML delivery, meaning your options are limited unless you happen to serve your own mail. Those looking to try out the feature can visit PutsMail, Litmus' Web-based email testing and debugging tool, as it it capable of delivering inline plain text, HTML and Watch HTML.
Litmus has compiled a few tips and techniques for sending tailored Watch emails, as well as a list of rich text concepts known to work with text/watch-html, including font styles, quotes, lists and embedded images.
16 Comments
very interesting. But Apple should look into using WML for internet access. It's small. It's compressed. It's efficient. It's quick. It's really optimal for watches as it uses "card" interface and it's an open standard. It will work with any power-efficient devices with low resolution.
Yes, this is the killer app we've all been waiting for.
Yes, this is the killer app we've all been waiting for.
Yeah, I guess AI ran out of Apple Watch news for today :) . Seriously too much attention lately to something that only 1% of apple user base have any interest in...
On the subject of email when will Apple bring Gmail style labels to iCloud and the mail app. It's really the only thing keeping me from ditching my Google account. I was so excited when Apple reimplemented tags in Yosemite (finally a file can have more than one colour label!) but this really needs to be in email rather than the file system. With folders you can only keep things in a single place but with labels you can mark an incoming bill both "Paid" and "Tax Deductable" which just makes life a whole lot easier.
[quote name="jason98" url="/t/186273/html-parsing-quirk-allows-hidden-email-content-viewable-only-on-apple-watch#post_2723682"] Yeah, I guess AI ran out of Apple Watch news for today :) . Seriously too much attention lately to something that only 1% of apple user base have any interest in... [/quote] 1%? What's your source for that?