I am getting mail from myself, I know it is getting sent through php or through any other server side script. But I want to know from which domain I am getting those mails from myself. I am a php developer so I can tell that those messages are from some script but how to find the domain/website from which it is getting sent. Any help will be appreciated. Thank You!
Solution to this: (my reputation is below 10 so i cannot post answer to my own question so posting here :) )
You may not actually find out the exact sender of the mail but atleast you can get some hint about the sender. As if you are a developer and forgot to remove the test mail id from the websites mail script (as me :P) then at that time this will help you...
What I did is:
1) Opened the mail and clicked the small dropdown beside the reply button which is on the right side of the message. 2) under that dropdown chose the "show original" option. 3) The mail header opened in a new window. In that find the text something like this:
Received: from mout.per****.net (mout.per****.net. [74.xx8.4.xxx])
4) Copy that Ip and using any whois utility and find that IP. 5) By doing this you will get the hosting providers name under "NetName" head.
This helped me finding which website's php script was sending mail to myself. Hope this will also help you...!