Access to message header from Outlook.MailItem

  • Thread starter Thread starter Jay Williams
  • Start date Start date
J

Jay Williams

When my VBA script runs upon receiving a particular e-mail
(activated by a rule), I want to look at the header
information for that e-mail. However, there wasn't a
Header property for the MailItem (which seems strange). Is
there a way to get at the header for that MailItem?

Thanks,
Jay
 
What reference do I need to include for the interpreter to
be able to see the "MAPI" module? I'm getting a runtime
error saying it can't find the user defined type.

Thanks,
Jay
 
CDO 1.21 (CDO.DLL). It's an optional installation from the Office CD
for Outlook 2000 and later. It's listed as Collaboration Data Objects
in the Outlook installation options.
 

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