I could open folders in outlook by using the following code :
Set thisApp = CreateObject("Outlook.Application")
Set thisNameSpace = thisApp.GetNamespace("MAPI")
Set thisFolder = thisNameSpace.Folders("Personal Folders")
Set theseItems = thisFolder.Items
these code doesn't work for Inbox. Do you know how to retrieve mail from Inbox?
Set thisApp = CreateObject("Outlook.Application")
Set thisNameSpace = thisApp.GetNamespace("MAPI")
Set thisFolder = thisNameSpace.Folders("Personal Folders")
Set theseItems = thisFolder.Items
these code doesn't work for Inbox. Do you know how to retrieve mail from Inbox?