Accessing Outlook 2003 Email Items

D

David Hirschfeld

I can't seem to find any good documentation that
illustrates how to write a VB.NET or C# application that
hooks into outlook, watching the inbox for newly received
mail items and then access properties (such as Subject,
Body, Sender, etc.) of these newly received mail items.
I am looking to build a system that indexes the
information from specific emails when they arrive. The
documentation seems to be very week on this subject or
I'm looking in the wrong places. I did figure out that I
needed to add a reference to the Outlook 11 library and
add
Imports Microsoft.Office.Interop
but intellisense doesn't work on any of the office object
as far as I can tell, so without any documentation, I am
a bit lost on how to monitor and respond to Outlook
events and how to identify the properties I need to
accessl.
 
W

Wei-Dong Xu [MSFT]

Hi David,

From my understanding to your issue now, you can use
"Microsoft.Office.Interop.Outlook" namespace to find the Outlook-related
objects when you reference the Outlook 11 type library.

Fruthermore, I'd suggest this KB article Q287531 may help you some on this
issue. Please go to:
287531 OL2002: Resources for Custom Forms and Programming
http://support.microsoft.com/?id=287531

Furthermore, there is one tech article which will provide some assistance
for your issue. Please go to:
Building Outlook 2002 Add-ins with Visual Basic .NET
http://msdn.microsoft.com/library/en-us/dnout2k2/html/odc_oladdinvbnet.asp?f
rame=true

Please feel free to let me know if you have any further question.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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