Accessing another Exchange mailbox

  • Thread starter Thread starter SteveB
  • Start date Start date
S

SteveB

Here's my need: I need to access the Inbox in another Exchange Server
mailbox and process emails that have an attachment. I can use the
"GetEmailAttachments" code at
http://www.fontstuff.com/outlook/oltut01.htm and obtain the results I
want from my default Inbox but I cannot get it to access and process
the other Inbox.

I'm using Outlook 2003, the additional Exchange mailbox is opened via
"File:Open:Other User's Folder" menu and appears in the Outlook folder
list.

The trouple is, I really don't know what I'm doing! Can someone tell me
how to get the script to "point" to the additional mailbox instead of
my default mailbox?

THANKS!
 
Use the Namespace.GetSharedDefaultFolder method to return the other user's Inbox.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top