donatj / PhpUserAgent

Lightning Fast, Minimalist PHP User Agent String Parser.
https://donatstudios.com/PHP-Parser-HTTP_USER_AGENT
MIT License
559 stars 129 forks source link

No recognition of e-mail clients #53

Closed andrzej-dunowski closed 5 years ago

andrzej-dunowski commented 5 years ago

Very nice feature.

Unfortunately, he does not recognize e-mail clients. I used this to track mailing openings by downloading a remote image and does not recognize anything.

Example User-Agent for Thunderbird

Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Lightning/5.4.9.1

For Gmail (by GoogleImagesProxy)

Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy)

Thanks, Andrzej

donatj commented 5 years ago

I could potentially add support for Thunderbird as it follows the rules - I'm not 100% sure demand is there however.

That given GoogleImageProxy ua-string on the other hand would likely require a special case for itself, and I don't think I can justify that.

luigifab commented 1 year ago

If vote +1 for Thunderbird (it's similar to Firefox).