View Single Post
  #2  
Old March 28th 06, 09:46 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Parse email headers

Many of the properties in e-mails are exposed via the MailItem object in the
Outlook Object Model. Other information stored in an e-mail's Internet
headers requires CDO. See here for a code sample for the latter:

http://www.slovaktech.com/code_sampl...nternetHeaders

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"John Smith" wrote:

Hi,

What is the easiest to retrieve email in vb, for example, time send, time received, date, destination server, originating server.


Thanks

Ads