Click to See Complete Forum and Search --> : Script needed


Rian
08-20-2006, 12:42 PM
Hi Guys

I want to know if it is possible to develop a specific php script.

I need a script where users can copy and paste full header information into a box. The script must be able to extract IP addresses from the header information and display the originating IP address.

If possible, another function must be to conduct an IPWhois on the extracted IP addresses in order to determine the country of origin of the e-mail.

Can this script be done?

bokeh
08-20-2006, 04:05 PM
No. IP info is not contained in email headers. Also it's not unusual for spam to start with a false set of headers. The best you can hope for is for your mailexchanger to grab the IP of the connecting mailserver but that doesn't prove much since it is possible for anyone to send email through any open relay anywhere in the world.