3

当我使用 webbug 技术来跟踪电子邮件打开和检测电子邮件客户端时,我能够通过用户代理字符串来判断 Outlook 版本,但仅限于 Outlook 2007 及更高版本。(通过键码 MSOFFICE 12 和 MSOFFICE 14)当我查看 Outlook 2003 的字符串并与 IE 浏览器上的打开比较时,它看起来非常相似。是否有任何关键字可以区分这两个用户代理字符串?

感谢你的帮助!

4

1 回答 1

1

Unfortunately, you can't tell from the user-agent String. On an old Windows XP virtual machine with Outlook 2003 and IE 8 installed, I get those two string:

Outlook 2003:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0)

Internet Explorer 8:

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)

What you might do:

Add an image inside of a conditional comment, only targeting outlook 2003 and track this image additionally to your other tracking. Then you might combine the two of them to identify old Outlook versions.

Or you have to treat all IE7 user-agent strings as Outlook 2003 asuming, that it is much more likely, that a user is using an old Outlook 2003 version than using the IE7 to view your emails.

于 2014-04-25T18:11:13.157 回答