How can I determine the email client from email headers?
Asked Answered
H

1

7

It seems like most popular email clients don't include the X-Mailer header. Is there any good method to determine if an email was sent by a popular client, such as Gmail, Outlook or Apple Mail?

Holley answered 2/7, 2014 at 21:34 Comment(2)
Also try the User-Agent header.Chessman
I don't see the User-Agent header in any of the emails I'm testingHolley
C
1

As mentioned in the comments, the User-Agent header can be used to determine the client MUA.

If this header isn't present in any of the emails being tested, this answer suggests that you could also check other fields like the message-id since some email clients will generate a message-id of their own.

Some more information about different useful headers can be found here.

Cobblestone answered 15/6, 2019 at 20:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.