Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MHTML LT at AQ

MHTML LT at AQ

Avatar for Yoshihiro Iwanaga

Yoshihiro Iwanaga

July 25, 2013
Tweet

More Decks by Yoshihiro Iwanaga

Other Decks in Programming

Transcript

  1. Work with AQ Discussion App UX Design Consulting Number of

    active users was increased dramatically J
  2. To gather more user… Mail Magazine ・ inspire motivation to

    visit app ・ notify hot / interesting discussion gather more comments / advices User Satisfaction J
  3. How can I do with this? RFC2557 MIME Encapsulation of

    Aggregate Documents, such as HTML (MHTML)
  4. 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
  5. Notice – Size limitation on mail (e.g. 200KB) – JavaScript and CSS3

    are NOT reliably available Users use not Web Browser, but Mail Browser.