Accessing other user Outlook inbox?
I am using the following code to access my outlook.
<font class="small">Code:</font><hr /><pre> ' Create Outlook application.
Dim oApp, oNS, oItem, Found, strSubjectTemp, strBodyTemp
Set oApp = CreateObject("Outlook.Application")
' Get Mapi NameSpace.
Set oNS = oApp.GetNamespace("MAPI")
' Get Messages collection of Inbox.
Set oInbox = oNS.GetDefaultFolder(6).Items 'olFolderInbox = 6
' Loop each unread message.
For Each oItem in oInbox
' Filter for unread e-mail messages only.
If oItem.UnRead = True Then
' Clean up
Set oItem = Nothing
Set oNS = Nothing
Set oApp = Nothing
How to access other user Outlook with the same API?
Manual process to open others Outlook:
OutLook -> File -> Open -> OtherUserID(Inbox)
Re: Accessing other user Outlook inbox?
I had the same issue some time back but i could not find anything which is there in the Outlook object model to do that. It might need something else.