Outlook 2010 - Macro to retrieve the IP address of a sender of an email

My OS is win 7 prof 64 bit and I use Outlook 2010.  At times I would like to know the IP address of the sender to try and do a geo location of him or her.  
Has anyone done a macro to do this, and is able to share with me.  Thank u.
Who is Participating?
apache09Connect With a Mentor Commented:
You should find all the details you need in the Email Headers

Such a macro wouldnt really be 100% accurate anyhow

Especially if most of your mail is comming from Internet Mail Acccounts

You would only be able to go back to the ISP

and to do so, you would essentially be running a trace using the email headers

So basically what you are doing or looking for will be similar to


If your not doing it on every email

Just use the link
jegajothyretiredAuthor Commented:
Excellent solution, thank u.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.