C# Outlook Public Folders\All Public Folders

A

A

How do I navigate through \\ Public folders \All Public Folders for
outlook\exchange using c# . I need to read through mail in a particular
location under public folders , but have not been able to select the
particular folder I need.

I looked at : http://support.microsoft.com/?kbid=310244 , i.e. the Folders
object section: Outlook.MAPIFolder oPublicFolder = oFolders.Item("Public
Folders");
but .Item does not exist , when you try this code. Please let me know how
to go about this.Thanks....
 
T

Thaddaeus Parker

Try:

Outlook.MAPIFolder folder = oFolders["Public Folders"].

VB's Item("") method structure is very similar to the c# indexer
property.

Thaddaeus.

-----Original Message-----
From: A [mailto:[email protected]]
Posted At: Monday, July 17, 2006 08:31
Posted To: microsoft.public.office.developer.com.add_ins
Conversation: C# Outlook Public Folders\All Public Folders
Subject: C# Outlook Public Folders\All Public Folders

How do I navigate through \\ Public folders \All Public Folders for
outlook\exchange using c# . I need to read through mail in a particular

location under public folders , but have not been able to select the
particular folder I need.

I looked at : http://support.microsoft.com/?kbid=310244 , i.e. the
Folders
object section: Outlook.MAPIFolder oPublicFolder = oFolders.Item("Public

Folders");
but .Item does not exist , when you try this code. Please let me know
how
to go about this.Thanks....
 

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