常见电子邮件客户端用户代理字符串

发布于 2024-07-17 04:47:40 字数 85 浏览 4 评论 0原文

是否有电子邮件客户端在打开 HTML 电子邮件时使用的常见用户代理字符串列表?

我想在电子邮件活动中使用 PHP 进行像素网络错误检测。

Is there a list of the common user agent strings that email clients use when opening HTML emails?

I want to do pixel web bug detection using PHP on an email campaign.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

叹梦 2024-07-24 04:47:40

我想您会发现没有简单的方法来区分打开 html 电子邮件的电子邮件应用程序。 所有桌面代理都使用已内置于 Web 浏览器中的特定渲染引擎(Thunderbird 使用 Gecko,早期版本的 Outlook 使用 Internet Explorer,Mail.App 使用 WebKit 等),这使得它们与浏览器本身几乎没有区别。

无论如何,从编程的角度来看,区分差异甚至没有用,因为即使您可以知道正在使用哪个客户端,也无法通过 PHP 脚本利用这一点。

I think you'll find that there's no easy way to distinguish between Email Applications opening a html email. All desktop agents use a specific rendering engine that is already built into web browsers (Thunderbird uses Gecko, earlier versions of Outlook use Internet Explorer, Mail.App uses WebKit etc) which makes them virtually indistinguishable from the browser itself.

Anyway, from a programming perspective, it's not even useful to be able to tell the difference because, even if you could tell which client is being used, there's no way of taking advantage of that through a PHP script.

万人眼中万个我 2024-07-24 04:47:40

根据UserAgentString.com,Thunderbird 使用这些字符串。 遗憾的是,我无法找到有关其他电子邮件客户端的更多信息。 我最好的建议是按照你的计划去做,但将其发送给特定的朋友,这样你就可以收集一些基础知识。

但是,正如 Scunliffe 提到的,大多数界面不会显示图像,除非您选择显示图像。 因此,强制执行此操作的最佳方法是将您的电子邮件作为一张大图片! ;)

According to UserAgentString.com, Thunderbird uses these strings. Sadly, I'm unable to find very much about other email clients. My best suggestion is to do as you are planning, but send it out to specific friends, so you can gather some baseline knowledge.

However, as Scunliffe mentioned, most interfaces do not display images until you choose to. So the best way to force it, is to have your email as one big image! ;)

雨落□心尘 2024-07-24 04:47:40

您只需将图像添加到 HTML 电子邮件中即可。

<img src="www.yourserver.com/track?id=someHASH..."/>

然后在您的服务器上,当您收到该点击时,将其与您将其发送给谁、何时等相关联。

请记住,大多数电子邮件客户端现在都会阻止外部图像,以阻止垃圾邮件发送者使用此技术来钓鱼实时电子邮件帐户(因为大多数服务器/客户端也阻止回执)。

因此,尊重许多用户永远不会加载图像......但如果您的网站“足够有吸引力/值得信赖”,那么用户可能会加载图像。

另请注意,如果用户将电子邮件转发给其他人,或稍后重新打开电子邮件,这可能会导致网络错误“call home”再次触发(取决于缓存等)

you just need to add your image to your HTML email.

<img src="www.yourserver.com/track?id=someHASH..."/>

Then on your server, when you get that hit, relate it back to who you sent it to, when, etc.

Just keep in mind that most email clients now BLOCK external images to stop spammers from using this technique to phish out live email accounts (since most servers/clients block return receipts also).

Thus, respect that many users will never load the image... but if your site is "compelling enough/trusted", then the user may load the images.

Also realize that if a user forwards the email to others, or re-opens the email at a later date, this may cause the web bug "call home" to fire again (depends on caching etc.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文