Outlook Exchange folders

G

Guest

Hey I was wondering the schema for exchange folders of other users. I would
like to get a folder object of another userand display it in the folders
pane. The permissions are all set up. But I'm unsure of how a folder object
request actually connects to the server through VBA.
Thanks!
 
D

Dmitry Streblechenko

Why do you need the schema? What does it have to do with displaying another
user's folder?
The set of folders comes from a a particular store provider. You can't just
display something among the folders unless you physically create that folder
or unless that provider wants to display it.
Do you mean opening other user's mailbox as in the "Open these addtitional
mailboxes" on the Advamced tab of the Exchange provider options dialog?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
G

Guest

I geuss I for got to press post:
There are three reasons why I would like to understand the way outllok
exchange interactions work:
1.
I would like to have a script that pulls from various shared contact lists
into one centralized location.
2. Several individuals in the organization need to be able to see others
users mail boxes the "Open these addtitional mailboxes" feature does not seem
to support sub-folders.
3. I would like to understand how the underlying outlook system interacts
with the exchange server.
 
D

Dmitry Streblechenko

1. Public Folders?
2. "Open these addtitional mailboxes" in teh EX provider properties dialog
adds the whole mailbox with all its subfolders. Did you actually mean "File
| Open | Other User's Folder..."? That indeed only opens the specified the
default folder, but not its subfolers.
3. I am not exactly sure what you are asking. Interacts when you do what?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
G

Guest

Well the idea is when I login every day certain people add alot of contacts
to their lists and are often "too important", CO's VP's etc to add them to
the public folder lists themselves. I am a deliagate of each of those people
when I login each morning I would like to take all of the contacts in each of
those users folders and put them in a contacts list, so I have composite list
that I can post to a public folder.

on 2: I'm going to tools>email accounts>(next)>(double click microsoft
exchage server account)>more settings>Advanced>add--enter user name etc.
I can see the inbox but not the subfolders of the inbox and I am set as and
editor delegate for everything sunder the user I setup.

Maybe I'm thinking of this the wrong way but, my experiance up to this point
with vb has been interacting with Active Directory.
when I'm writting a script to interface with the ADDB I can say somthing like:
Set oComp = GetObject("LDAP://cn=myComputer cn=Computers,dc=domain,dc=local"))
I just want to know how to get an object from the exchange server. Be it a
user mail box or another users contact list
 
D

Dmitry Streblechenko

Are you saying that for the delegate mailboxes you only see "Mailbox - Your
boss" store with only *one* folder - the Inbox? Are you using "Folder List"
nav bar button or "Mail"?
If the mailbox is already added to the list of the delegate mailboxes, you
can access it through the Namespace.Folders collection (which returns the
list of top level folders).
If not, you can use Namespace.GetSharedDefaultFolder(), which lets you
access any default folder. If you need to get to the root folder of that
mailbox (e.g. if you want to enumerate the child folders), request the inbox
using GetSharedDefaultFolder, then read MAPIFoldder.Parent (will return the
inbox parent, which is the top level IPM folder of the mailbox).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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