David Mihal
David Mihal

Reputation: 974

How can I determine the email client from email headers?

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?

Upvotes: 8

Views: 7024

Answers (1)

AbsoluteSpace
AbsoluteSpace

Reputation: 770

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.

Upvotes: 3

Related Questions