Things I do not understand with shared folders ...

F

F C

I am trying to acces another mailbox from that of my profile. I have access
rigths on some of the other folders.

I have found that I cam OpenEntry given the EntryID of the other store. But
I cannot OpenEntry of a folder (0x80040107). Identity problem.

Now I am tryng to open the other mailbox with
IExchangeManageStore::CreateStoreEntryID
Although I dont need any privileged access. I just want to read the content
of the other folder the other user shares with me.

But Now I need a MsgStoreDN and a mailboxDN.
Where can I get this ?

Another point:
I have opened with outllok a shared folder. But it seems to have added the
other mailbox to the profile. (The other MB is listed in GetMsgStoreTable).
How can I suppress this additional MB ? I have suppressed the sharings, so I
have stricly no acces, But I cannot remove it from the MsgStoreTable.


Thanks for help.
 
F

F C

For the other point, seems that when you open another mailbox with outllok,
this mailbox is added somewhere in the default profile. And if you change
your profile thru outlook icon property, this additionnal mailbos is added
to everyone.

The way to get rid of it is to remove all all from mail icon control panel
and recreate the profiles.

I am not satisfied with what I wrote, but I have no much time to
investigate.

Thanks.

I am still looking for MsgStoreDN and MailboxDN for CreateStoreEntryID.
 
F

F C

NB Found utl_dn.c

MailBoxDN is PR_EMAIL_ADDRESS
ServerDN is PR_EMS_AB_HOME_MTA without the last part.


last point.
OutLook 2000 is able to allow sharing of any folder, but you can only
connect to top level folders (ie the defaults ones).

Thanks...
 
D

Dmitry Streblechenko \(MVP\)

Correct: entry ids of the special folders are stored in the root folder of
that user's mailbox. By default everybody has read access to that folder, so
Outlook can read the entry id and call ImsgStore::OpenEntry. In case of the
folders other than the default ones, Outlook wodl need to traverse the
foddler hierarcy, which mean each folder along the way must allow at least
read-only access.

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