Using CDO, how can I get the name of Mailbox a folder is in.

S

Shawn Anderson

When I am using CDO, does anyone know how I can get the name of the
"Mailbox" a folder or message belongs to. Is it possible to even tell?

Thanks
Shawn
 
D

Dmitry Streblechenko \(MVP\)

Read PR_MAILBOX_OWNER_NAME or PR_MAILBOX_OWNER_ENTRYID from the parent store
(InfoStore.Fields). Won't work in Outlook 2003 cached mode though...

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

Shawn Anderson

Thanks, thats what I was looking for...

Dmitry Streblechenko (MVP) said:
Read PR_MAILBOX_OWNER_NAME or PR_MAILBOX_OWNER_ENTRYID from the parent
store
(InfoStore.Fields). Won't work in Outlook 2003 cached mode though...

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