Email Sender Information

Giganews Newsgroups
Subject: Email Sender Information
Posted by:  RickJ (ric…
Date: Tue, 2 Dec 2003

I would like to get the information about the sender of an email as follows

X-From_: v…  Fri Jan 17 13:40:25 2003
Received: from (
[]) by (8.11.6/8.11.6) with SMTP id
h0H2eO504385 for

I can get it using retreiveraw method.
I dont seem to be able to get this from messageparts.
Should I be able to get this from messageparts?
If it is possible from messageparts, could someone provide an example, or
maybe there is a better way of obtaining it.
Thankyou for you help.