Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MHTML LT at AQ
Search
Yoshihiro Iwanaga
July 25, 2013
Programming
57
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MHTML LT at AQ
Yoshihiro Iwanaga
July 25, 2013
More Decks by Yoshihiro Iwanaga
See All by Yoshihiro Iwanaga
HTTP2 最速実装v2
yoshi
0
130
JavaScript と Arduino でオリジナルデバイスを作ろう
yoshi
0
90
Anomaly Detection by Mean and Standard Deviation
yoshi
0
180
WebComponents LT at AQ
yoshi
0
66
HOTATE (Developers Summit 2012)
yoshi
0
36
Anomaly detection using correlations of load
yoshi
0
58
Other Decks in Programming
See All in Programming
AI時代のUIはどこへ行く?その2!
yusukebe
21
7.1k
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
400
スマートグラスで並列バイブコーディング
hyshu
0
140
Creating Composable Callables in Contemporary C++
rollbear
0
130
ふつうのFeature Flag実践入門
irof
7
3.9k
さぁV100、メモリをお食べ・・・
nilpe
0
140
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
550
New "Type" system on PicoRuby
pocke
1
920
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
10
4.1k
A2UI という光を覗いてみる
satohjohn
1
130
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
130
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
310
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
200
Bash Introduction
62gerente
615
220k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
Why Our Code Smells
bkeepers
PRO
340
58k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
940
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
530
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
230
Everyday Curiosity
cassininazir
0
230
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
440
Transcript
HTML in e-mail iwanaga
Who am I Working at Twitter bot @quake_alert @quake_alert_en Yoshihiro
Iwanaga
Work with AQ Discussion App UX Design Consulting Number of
active users was increased dramatically J
To gather more user… Mail Magazine ・ inspire motivation to
visit app ・ notify hot / interesting discussion gather more comments / advices User Satisfaction J
for better presentation I decided to use HTML Mail
however
omg… some mail clients block image downloading
How can I do with this? RFC2557 MIME Encapsulation of
Aggregate Documents, such as HTML (MHTML)
1. Use “multipart/related” 2. Refer image by “Content ID”! 3.
Send Answer
From:
[email protected]
To:
[email protected]
Subject: MHTML with embedded
image MIME-‐Version: 1.0 Content-‐Type: mul$part/related; boundary="-‐-‐-‐-‐=boundary”; type="text/html”; -‐-‐-‐-‐-‐-‐=boundary Content-‐Type: text/html; charset=UTF-‐8 Content-‐Transfer-‐Encoding: 7BIT <html> <head></head> <body> <img src="cid:foo"> </body> </html> -‐-‐-‐-‐-‐-‐=boundary Content-‐Type: image/png; name=foo.png Content-‐DescripTon: foo.png Content-‐Transfer-‐Encoding: base64 Content-‐DisposiTon: inline; filename=“foo.png”; Content-‐ID: foo iVBORw0KGgoAAAANSUhEUgAA ... -‐-‐-‐-‐-‐-‐=boundary Header Body Image Data
Notice – Size limitation on mail (e.g. 200KB) – JavaScript and CSS3
are NOT reliably available Users use not Web Browser, but Mail Browser.
Result
Thanks @quake_alert! @quake_alert_en please follow