Re: TIdMessage: Getting "Received: from" IP address

Giganews Newsgroups
Subject: Re: TIdMessage: Getting "Received: from" IP address
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Mon, 20 Sep 2004

"David B. Ferguson" <dav…@microtask.ca> wrote in message
news:2118906C52ADE240dav…@microtask.ca...

> Is there a reliable way of obtaining the IP address of
> the machine used to send a message to the server
> I'm checking mail on

Look at the "Received" values in the Header property.  They are a history of
machines the message has passed through from start to end.

> will I have to parse the headers to obtain it?

Yes.

Gambit

Replies

None

In response to

TIdMessage: Getting "Received: from" IP address posted by David B. Ferguson on Mon, 20 Sep 2004