Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
62
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
94
Anomaly Detection by Mean and Standard Deviation
yoshi
0
180
WebComponents LT at AQ
yoshi
0
70
HOTATE (Developers Summit 2012)
yoshi
0
40
Anomaly detection using correlations of load
yoshi
0
62
Other Decks in Programming
See All in Programming
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
110
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
4
2.8k
App Intentsのビルドプロセスを支える技術
kntkymt
0
380
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
1.9k
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
110
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
460
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
240
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
110
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
210
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
4
1.2k
kubernetes コンポーネント開発入門 / 新卒N年目の勉強会&交流会!〜〇〇への誘い〜 #n_study
mazrean
0
240
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
2.9k
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
Optimizing for Happiness
mojombo
378
71k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
The Spectacular Lies of Maps
axbom
PRO
1
990
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
240
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
380
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