Which Mailbox is active?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I have my own Mailbox and i open additional other Mailboxes in Outlook 2000.
I have to know in which Mailbox im Working.
I've tried the Application.ActiveExplorer.CurrentFolder.Parent.Name command.
But if im in a second subfolder i don't get the mailboxname.
Is there a command to read the mailboxname of the active folder?
Thanks for every help.
M.Subasio
 
You just need to keep going up the parent chain until you hit the root
folder of the mailbox.
Also note that assuming that the root folder starts with "Mailbox - " will
fail in Outlook versions other than English.

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

Back
Top