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

  • Thread starter Thread starter Shawn Anderson
  • Start date Start date
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
 
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
 
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
 
Back
Top