voxinforma
MIS
I am trying to connect to the exchange inbox of a specific user and return the date of the most recently received email there. any suggestions? thanks!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Set ol = New Outlook.Application
Set olns = ol.GetNamespace("MAPI")
Set olRecip = olns.CreateRecipient("Users ID")
olRecip.Resolve
Set objInbox = olns.GetSharedDefaultFolder(olRecip, olFolderInbox
Set olItem = objInbox.Messages.GetFirst