Automated search of internet headers for IP Addresses?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know of a way to search the message header of incoming emails? I
would like to take any/all IP addresses from incoming emails and view them as
a field or store them with contact info.
 
You can't do that using the Outlook object model, the headers aren't exposed
to you. You would have to use CDO 1.21 (optional installation for Outlook
2000 and later) or Extended MAPI (C++ or Delphi code only and a long
learning curve) or Redemption (3rd party library at
www.dimastr.com/redemption) to get at the MAPI property
PR_TRANSPORT_MESSAGE_HEADERS. Once you have that property, which is a
string, you can parse it according to the RFC rules for parsing header
content.

There are examples of accessing that property with CDO at
www.cdolive.com/cdo5.htm and for Redemption at that Web site. There might be
an Extended MAPI example in the MSDN Library somewhere or in the MS KB, but
I'm not sure about that.
 

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

Back
Top