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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yoshihiro Iwanaga
July 25, 2013
Programming
68
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MHTML LT at AQ
Yoshihiro Iwanaga
July 25, 2013
Transcript
13 slides
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
More Decks by Yoshihiro Iwanaga
See All by Yoshihiro Iwanaga
HTTP2 最速実装v2
yoshi
0
150
JavaScript と Arduino でオリジナルデバイスを作ろう
yoshi
0
98
Anomaly Detection by Mean and Standard Deviation
yoshi
0
190
WebComponents LT at AQ
yoshi
0
79
HOTATE (Developers Summit 2012)
yoshi
0
47
Anomaly detection using correlations of load
yoshi
0
70
Other Decks in Programming
See All in Programming
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
1.3k
Kiro Crewによる開発体験ーKiro CrewでStrands Decider 2B に関する技術検証をやってみた
satoshi256kbyte
1
230
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
17
9.6k
Lean で手続き的プログラム の証明が書けるようになった
inoueasei
10
5.5k
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
テスト駆動開発から学ぶ 達人プログラマーの型 / TechRAMEN 2026 Conference
a_okui
0
3.2k
Stage 3でも仕様は変わる。アプリケーション開発者のためのTC39プロセスの読み方
bicstone
1
1k
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
220
はじめてのPLATEAU
nokonoko1203
1
680
あなたはMCPの機能を、まだ知らない。
4geru
1
750
Debian JP Projectのサーバー構成
uwabami
1
190
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
370
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Navigating Weather and Climate Data
rabernat
0
610
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
A designer walks into a library…
pauljervisheath
211
25k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
A Modern Web Designer's Workflow
chriscoyier
699
190k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
New Earth Scene 8
popppiees
5
2.9k