Dirk van Schalkwyk
Posts: 58
Joined: 2008-03-24
|
Hi,
Is it possible to access the domain Inbox folder in Outlook. That is, Outlook has a Default Inbox folder but I need to access mail that arrives in the users domain folder (eg. dirk@example.com/Inbox).
Using the olDefaultFolders option gives me access to the Outlook Inbox (Personal Folders/Inbox) only.
Thanks,
Dirk |
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hi Dirk,
Sorry, I don't know what the user's domain folder is.
If only the folder exists in your Outlook, you can find it using the Outlook object model. The best place to start is the Namespace class an instance of which can be created using the Session property of the Outlook.Application object which Add-in Express supplies for your add-in. The Namespace class contains the Folders property which returns a collection of top-level folders in the current Outlook session. Every folder provides the Folders collection which lists all folders in the current folder.
That's a sure way.
Andrei Smolin
Add-in Express Team Leader |
|
Dirk van Schalkwyk
Posts: 58
Joined: 2008-03-24
|
Hi Andrei,
Will try it out and let you know how it goes.
Thanks. |
|