Headers

  • Thread starter Thread starter Mike Hudson
  • Start date Start date
M

Mike Hudson

How can I get header info from new mail arrived?

I can do all the hardwork, just can't find which field the header is stored
in..

I am getting sick of receiving so called updates from Microsoft!>!?!?!?
 
The Internet headers aren't available to the Outlook object model, you
have to use CDO 1.21 or Extended MAPI or Redemption code
(www.dimastr.com/redemption) to get at them. The sample at
http://www.slovaktech.com/code_samples.htm#InternetHeaders shows how
to get the headers using CDO 1.21, which is an optional installation
from the Office CD (Collaboration Data Objects) for Outlook 2000 or
later. That code needs CDO installed and referenced (CDO.DLL) in your
code project.

Be aware though that the CDO code would fire the security prompts in
secure versions of Outlook 2000 or later. Using Extended MAPI or
Redemption code would avoid the security prompts. Extended MAPI can
only be coded using C++ or Delphi, BTW.
 
Back
Top