什么是数据URI支持,如主要电子邮件客户端软件? [英] What is Data URI support like in major email client software?

查看:329
本文介绍了什么是数据URI支持,如主要电子邮件客户端软件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

数据URI 是将图像和其他二进制数据嵌入HTML和浏览器的标准方式支持在网络上有很好的记录。 (IE8是支持数据URI的IE的第一个版本,每个URI最大为32 KB大小;其他主要浏览器都支持更长时间)。



我的问题是关于桌面电子邮件和网络邮件客户端软件。



在构建HTML电子邮件时,标准做法是将图像作为附件包含或从外部加载(即跟踪图像)。这两个都有缺点(一些客户列出所有这些附加文件,而许多正确地阻止或要求用户操作来查看外部图像)。所以,数据URI看起来好像是一个很好的方式,但只有在电子邮件阅读器支持的情况下才可以。



所以,有没有人链接到最近的支持研究这个功能?还是调查这个?例如,以下是 CSS支持概述。我会感兴趣的客户端软件包括:



桌面(包括版本信息):Outlook,Apple Mail,Thunderbird,Evolution,Lotus Notes, AOL,Eudora



Webmail: Gmail,Live / Hotmail,Yahoo!邮件,美国在线



手机: Android,iPhone

解决方案

我已经在 Litmus 上进行了更新的测试,其中包含内容< img> 元素和CSS背景图像。



这些桌面客户端 显示数据URI:苹果邮件5

  • Apple Mail 6

  • Lotus Notes 8

  • Outlook 2003

  • Thunderbird 3.0

  • Thunderbird最新版本



    • 这些移动客户端显示数据URI:




      • Android 2.3

      • Android 4.0

      • BlackBerry 5 OS

      • iPad

      • < iPhone 3GS
      • iPhone 4S

      • iPhone 5





      这些桌面客户端没有:




      • Lotus Notes 6.5

      • Lotus Notes 7

      • Lotus Notes 8.5

      • Outlook 2000

      • Outlook 2002 / XP

      • Outlook 2007

      • Outlook 2010

      • Outlook 2011

      • Outlook 2013



      这些移动客户端没有:




        (Android)
      • Outlook.com(Android)

      • 雅虎(Android)

      • < BlackBerry 4 OS
      • Symbian

      • Windows Phone 7.5


      Data URIs are a standard way to embed images and other binary data in HTML, and browser support is well documented on the web. (IE8 was the first version of IE to support Data URI, with a max 32 KB size per URI; other major browsers have supported it even longer.)

      My question is about desktop email and webmail client software.

      When building HTML email, standard practice is either to include images as attachments or load them externally (i.e. tracking images). Both of these have disadvantages (some clients list all of these attached files, while many rightly block or require user action to see external images). So, Data URI looks like a good way to go, but only if it's supported by email readers.

      So, does anyone have a link to a recent study of support for this feature? Or investigated this at all? For example, here's an overview of CSS support. Client software I'd be interested includes:

      Desktop (including version info): Outlook, Apple Mail, Thunderbird, Evolution, Lotus Notes, AOL, Eudora

      Webmail: Gmail, Live/Hotmail, Yahoo! Mail, AOL

      Mobile: Android, iPhone

      解决方案

      I've done a more recent test at Litmus, with data URIs for inline <img> elements and css background images.

      These desktop clients do show data URIs:

      • Apple Mail 5
      • Apple Mail 6
      • Lotus Notes 8
      • Outlook 2003
      • Thunderbird 3.0
      • Thunderbird latest

      These mobile clients do show data URIs:

      • Android 2.3
      • Android 4.0
      • BlackBerry 5 OS
      • iPad
      • iPhone 3GS
      • iPhone 4S
      • iPhone 5

      None of the webmail clients showed data URIs.

      These desktop clients don't:

      • Lotus Notes 6.5
      • Lotus Notes 7
      • Lotus Notes 8.5
      • Outlook 2000
      • Outlook 2002/XP
      • Outlook 2007
      • Outlook 2010
      • Outlook 2011
      • Outlook 2013

      These mobile clients don't:

      • Gmail (Android)
      • Outlook.com (Android)
      • Yahoo (Android)
      • BlackBerry 4 OS
      • Symbian
      • Windows Phone 7.5

      这篇关于什么是数据URI支持,如主要电子邮件客户端软件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆