tags:

views:

131

answers:

5

How to find ip address of email sender of yahoo mail or gmail?

+3  A: 

You can't.

Georg
Whilst this is correct, I think it may be useful to indicate why.
Brian Agnew
Well, there is a way: You could ask them.
Christopher Mahan
Google and Yahoo both sent custom headers that give a hash that uniquely identifies the user. However, this hash only makes sense to Google, and thus cannot be reverse-engineered without working for Google. This protects the privacy of the user.
Chacha102
And yes, this means that anyone can hide behind a Gmail or Yahoo account to prevent you from knowing their location, or probably anything about them (without going to court).
Chacha102
A: 

Looking at the mail headers, you can see who sent it and the host IP, but sender IP addresses aren't included in the header.

George
Actually, they are with most providers, but I think with Yahoo, not anymore.
Pekka
+2  A: 

Just a thought - If you are looking for the IP in order to track down a spammer or something similar - better report the email address directly to yahoo or gmail.

One more issue is that if the IP used to send the mail is/was dynamic, it can possibly help you only aproximately geo-locate the sender, nothing more.

Vuk
A: 

There is a technique that sometimes works, and it's a well-known trick used by spammers.

Reply to the email with an HTML email that includes an image hosted by a server you control, with a unique query string in the URL. If the person opens the email AND displays images, your image will load. You can see which IP address loaded the image, and match that with the email address where you sent the image. Of course, even if this works it will give you the IP address where they read your message, not the one from which they sent the first email. This trick is the main reason that email programs check before they load images now.

You could also sue them, get a subpeona and force Google or Yahoo to get the IP address from their logs. Or you could just hack into their systems and find out yourself.

RossFabricant
A: 

You need to look into the mail header which is where you can find the ip address

source http://tejji.com/ip/my-ip-address.aspx