How to Retrieve Header Info from MailItem

T

The Ricster

I am working in (Outlook) VB and trying to retrieve the same info that is
seen when you right click a mail item in outlook and select Options. You get
a window which has a panel at the bottom marked "Internet Headers", which
contains info like the IP address of the sender and such.

Is there a way to retrieve this info programattically? I can't seem to find
the Object and or property that will devulge this info. I am pretty sure
that it must be a property of the "MailItem" object, but I can't seem to
locate it.

Any assistance will be greatly apprecaiated.


The Ricster
 
S

Sue Mosher [MVP-Outlook]

No, it's not a MailItem property. You must use CDO or, to avoid security
prompts, Redemption. See http://www.outlookcode.com/d/forms/headers.htm for
a sample project.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



I am working in (Outlook) VB and trying to retrieve the same info that is
seen when you right click a mail item in outlook and select Options. You get
a window which has a panel at the bottom marked "Internet Headers", which
contains info like the IP address of the sender and such.

Is there a way to retrieve this info programattically? I can't seem to find
the Object and or property that will devulge this info. I am pretty sure
that it must be a property of the "MailItem" object, but I can't seem to
locate it.

Any assistance will be greatly apprecaiated.


The Ricster
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top