测试 HTML 电子邮件呈现

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1018078/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-28 23:57:04  来源:igfitidea点击:

Testing HTML email rendering

htmlemailtesting

提问by ejunker

Are there any good tools to easily test how HTML email will look across different email clients? I prefer something with instant feed back rather than a submit and wait service like http://litmusapp.comOr at the very least a way to test the Outlook 2007/MS Word rendering?

是否有任何好的工具可以轻松测试 HTML 电子邮件在不同电子邮件客户端上的外观?我更喜欢即时反馈而不是像http://litmusapp.com这样的提交和等待服务,或者至少是一种测试 Outlook 2007/MS Word 呈现的方法?

I found this related question but it doesn't specifically address testing. What guidelines for HTML email design are there?

我发现了这个相关的问题,但它没有专门针对测试。有哪些 HTML 电子邮件设计指南?

采纳答案by Michiel

Yes, you can use any of these popular tools:

是的,您可以使用以下任何一种流行工具:

回答by Pablo Cantero

You could also use PutsMailto test your emails before sending them.

您还可以使用PutsMail在发送之前测试您的电子邮件。

PutsMail is a tool to test HTML emails that will be sent as campaigns, newsletters and others (please, don't use it to spam, help us to make a better world).

Main features:

  • Check HTML & CSS compatibility with email clients
  • Easily send HTML emails for approval or to check how it looks like in email clients

PutsMail 是一种测试 HTML 电子邮件的工具,这些电子邮件将作为活动、时事通讯和其他形式发送(请不要用它来发送垃圾邮件,帮助我们创造一个更美好的世界)。

主要特点:

  • 检查 HTML 和 CSS 与电子邮件客户端的兼容性
  • 轻松发送 HTML 电子邮件以供批准或检查它在电子邮件客户端中的外观

回答by Dan

I found emailonacid.comtoday (beta, currently free?) - have only played with it a little but so far so good. It simulates the following clients:

我今天发现了emailonacid.com(测试版,目前免费?) - 只玩了一点,但到目前为止还不错。它模拟以下客户端:

  • AOL 9
  • Entourage 2004 & 2008
  • Gmail
  • Hotmail
  • Windows Live Mail
  • Windows Mail
  • Mac Mail
  • Outlook 2003 & 2007
  • Thunderbird 2, 3 & Beta
  • Yahoo Classic / Yahoo Mail
  • 美国在线 9
  • 2004 年和 2008 年随行人员
  • Gmail
  • 热信
  • Windows Live 邮件
  • 视窗邮件
  • Mac 邮件
  • 2003 年和 2007 年展望
  • 雷鸟 2、3 和测试版
  • 雅虎经典/雅虎邮箱

The very helpful thing about this service is it tells you what code is not supported in which client.

这项服务非常有用的一点是它告诉您哪些代码在哪个客户端不受支持。



?Edit:Not free anymore, but provides a 7 day free trial.

? 编辑:不再免费,但提供 7 天免费试用。

回答by bswinnerton

Another thing you could try is to upload the html to a webpage and then open the webpage in word to test Outlook.

您可以尝试的另一件事是将 html 上传到网页,然后在 Word 中打开网页以测试 Outlook。

回答by Jonathan Hammer

Direct Mail is an OS X desktop app that can show you previews of what your email will look like in a variety of email clients:

Direct Mail 是一个 OS X 桌面应用程序,可以向您展示您的电子邮件在各种电子邮件客户端中的外观预览:

http://directmailmac.com/mac-email-design/

http://directmailmac.com/mac-email-design/

Full Disclosure: I work for the developers of Direct Mail

完全披露:我为 Direct Mail 的开发人员工作

回答by Ruchit Patel

If you are converting your HTML pages to Email. You should check Premailer,

如果您要将 HTML 页面转换为电子邮件。你应该检查 Premailer

It converts CSS to inline CSS and also tests the compatibility with major email clients.

它将 CSS 转换为内联 CSS,并测试与主要电子邮件客户端的兼容性。

回答by Dan Fabulich

If you don't want to use a submission service like Litmus (Litmus is the best, BTW) then you're just going to have to run Outlook 2007 to test your email.

如果您不想使用 Litmus 之类的提交服务(Litmus 是最好的,顺便说一句),那么您只需要运行 Outlook 2007 来测试您的电子邮件。

It sounds like you want something a little more automatic (though I'm not sure why), but fortunately Outlook is easy to automate using Visual Basic for Applications (VBA).

听起来您想要一些更自动化的东西(虽然我不确定为什么),但幸运的是 Outlook 很容易使用 Visual Basic for Applications (VBA) 实现自动化。

You can write a VBA tool that runs from the command line to generate an email, load the email up in Outlook, and even capture a screenshot if you wish. (Presumably this is what the Litmus team does on the backend.)

您可以编写一个从命令行运行的 VBA 工具来生成电子邮件、在 Outlook 中加载电子邮件,甚至可以根据需要捕获屏幕截图。(大概这就是 Litmus 团队在后端所做的。)

(BTW, do not attempt to use MS Word to test mail; the renderer is similar but subtle differences in page layout can affect the rendering of your email.)

(顺便说一句,不要尝试使用 MS Word 来测试邮件;渲染器是相似的,但页面布局的细微差别会影响电子邮件的渲染。)

回答by Robert Munteanu

Campaign Monitoris quite popular and offers previews for many popular email clients.

Campaign Monitor非常受欢迎,并为许多流行的电子邮件客户端提供预览。

回答by checkenginelight

I've used most of them and can tell you that the best method is to test directly to each client. Once you are comfortable with sending you can send tests of your emails to gmail and if the design doesn't break then it's pretty safe on modern email clients.

我已经使用了其中的大部分,并且可以告诉您,最好的方法是直接对每个客户端进行测试。一旦您对发送感到满意,您就可以将您的电子邮件测试发送到 gmail,如果设计没有损坏,那么它在现代电子邮件客户端上非常安全。

You can check what is supported on which client here:

您可以在此处查看哪个客户端支持的内容:

http://www.email-standards.org

http://www.email-standards.org