Skip to content

Commit a57ab14

Browse files
Adds detection for Foxmail and Mail Master (#7616)
* Adds detection for Foxmail * Adds detection for Mail Master --------- Co-authored-by: Tutik Alexsandr <[email protected]>
1 parent 5d41a2b commit a57ab14

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

Tests/Parser/Client/fixtures/pim.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,21 @@
233233
type: pim
234234
name: Microsoft Outlook
235235
version: 16.0.12329
236+
-
237+
user_agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36 Foxmail/7.2.25.213
238+
client:
239+
type: pim
240+
name: Foxmail
241+
version: 7.2.25.213
242+
-
243+
user_agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 MailMasterPC/4.15.6.1016 Safari/537.36
244+
client:
245+
type: pim
246+
name: Mail Master
247+
version: 4.15.6.1016
248+
-
249+
user_agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15F79 MailMaster/6.5.3.1210
250+
client:
251+
type: pim
252+
name: Mail Master
253+
version: 6.5.3.1210

regexes/client/pim.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,13 @@
131131
- regex: '^Mail/([\d\.]+)'
132132
name: 'Apple Mail'
133133
version: '$1'
134+
135+
# Foxmail (https://www.foxmail.com/)
136+
- regex: 'Foxmail/(\d+[\.\d]+)'
137+
name: 'Foxmail'
138+
version: '$1'
139+
140+
# Mail Master (https://apps.apple.com/mw/app/mail-master-by-netease/id897003024)
141+
- regex: 'MailMaster(?:PC)?/(\d+[\.\d]+)'
142+
name: 'Mail Master'
143+
version: '$1'

0 commit comments

Comments
 (0)