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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yoshihiro Iwanaga
July 25, 2013
Programming
59
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
140
JavaScript と Arduino でオリジナルデバイスを作ろう
yoshi
0
91
Anomaly Detection by Mean and Standard Deviation
yoshi
0
180
WebComponents LT at AQ
yoshi
0
68
HOTATE (Developers Summit 2012)
yoshi
0
38
Anomaly detection using correlations of load
yoshi
0
60
Other Decks in Programming
See All in Programming
Flow は今どうなっているか
mizdra
PRO
0
460
Foundation Models frameworkで画像分析
ryodeveloper
1
610
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
0
1.8k
AI Readyの正体はデータマネジメントだ メダリオン2.0の最前線
freee
PRO
0
230
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
360
Go 1.27 における memory allocation の高速化
andpad
0
180
今さら聞けない .NET CLI
htkym
0
190
数百円から始めるRuby電子工作
tarosay
0
150
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
170
AIが無かった頃の素敵な出会いの話
codmoninc
1
430
Cloudflare is Agents
chimame
0
160
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
180
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Bash Introduction
62gerente
615
220k
WENDY [Excerpt]
tessaabrams
11
39k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Navigating Team Friction
lara
192
16k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
890
Joys of Absence: A Defence of Solitary Play
codingconduct
1
430
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
Mobile First: as difficult as doing things right
swwweet
225
10k
A better future with KSS
kneath
240
18k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
430
Accessibility Awareness
sabderemane
1
180
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