Hello,
I am writing an addin for Outlook 2003 that need access to a
mailbox that is not the default mailbox. When I select one of the
emails in the secondary mailbox and access it like this
ActiveExplorer().Selection[1], the resulting object is no
Outlook.MailItem and therefore any attempt to cast to this type fails.
What else could it possibly be? The same code is working perfectly for
items I select in my own default mailbox.
Would be cool if someone could shed some light on this.
Outlook 2003 addin; items in non-default mailbox not MailItems
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Laurence Bielza2 reputationPosted Sep 30, 2009, 5:32 AM EDT
I do the same than you but it works in my case. (Outlook 2003)
Could you please add your code?
Benjamin3 reputationPosted Sep 30, 2009, 5:52 AM EDT
I have no idea what type this item really has. I select the mail in the inbox of another mailbox.