Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Get Access to a Mail Folder That isnt a Subfolder of My Outlook InboxContent of Get Access to a Mail Folder That isnt a Subfolder of My Outlook Inbox.vbsMD5 Hash: 30EC108EC9BB6C3CE00657E9A91215D5 |
||
Const olFolderInbox = 6
Set objOutlook = CreateObject("Outlook.Application") Set objNamespace = objOutlook.GetNamespace("MAPI") Set objInbox = objNamespace.GetDefaultFolder(olFolderInbox) strFolderName = objInbox.Parent Set objMailbox = objNamespace.Folders(strFolderName) Set objFolder = objMailbox.Folders("Europe") Set colItems = objFolder.Items For Each objItem in colItems Wscript.Echo objItem.Subject Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |