How to extract 'Received' header information from email

I would like to access the IP address from the ‘Received’ headers. I run my Lotus script agent from within a folder. I then get a collection of all the documents in the folder and currently I do get the From field. But viewing the Received fields using the debugger shows only the information from my server. I can see multiple Received fields, but they all show the same thing. I am looking for the the server from which it came.

Regards,

Durwin

Subject: try with Java Agent

Hi Durwin De La Rue,

I can see multiple Received fields, but they all show the same thing.

If you use the property window of a document you should see that the Received items are duplicate ones. I mean they have a “Dup Item ID” >0 and cannot be accessed via Lotus Script (AFAIK)

Use a Java Agent and access document.getItems.get() … this will work!

hth

Regards

Subject: RE: try with Java Agent

Thank you for the tip. I will give that a try.

Subject: RE: try with Java Agent

I have it working with java. Thank you.