简体   繁体   English

对于html电子邮件,电子邮件预览中会显示什么内容?

[英]For html emails, what content appears in the e-mail preview?

In certain e-mail clients (such as iOS mail), a number of lines of the e-mail appear in your inbox before you open the e-mail. 在某些电子邮件客户端(例如iOS邮件)中,在打开电子邮件之前,收件箱中会显示许多行电子邮件。 For text e-mails, these are probably the first 1-4 lines; 对于文本电子邮件,这些可能是前1-4行; however, for html emails, what content appears? 但是,对于html电子邮件,会显示什么内容?

I know that each e-mail client is different, but in general (like for gmail and iOS mail), what is selected? 我知道每个电子邮件客户端都是不同的,但是总的来说(例如gmail和iOS邮件),选择了什么? I've tried doing a few tests, but haven't been able to determine a pattern. 我尝试进行一些测试,但无法确定模式。

It depends on the client but they generally convert HTML to text (forget all tags) and take the first lines of that. 它取决于客户端,但是它们通常将HTML转换为文本(忽略所有标签)并采用第一行。 That's the reason you sometimes get "Your client doesn't support HTML e-mails" in the preview - this error line is usually the first text in the e-mail. 这就是您有时在预览中看到“您的客户端不支持HTML电子邮件”的原因-此错误行通常是电子邮件中的第一行文本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM