![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Filter Outlook Messages By Email Address
|
||
Const olFolderInbox = 6
Set objOutlook = CreateObject("Outlook.Application") Set objNamespace = objOutlook.GetNamespace("MAPI") Set objFolder = objNamespace.GetDefaultFolder(olFolderInbox) Set colItems = objFolder.Items Set colFilteredItems = colItems.Restrict("[SenderEmailAddress] = 'kenmyer@fabrikam.com'") For Each objMessage In colFilteredItems Wscript.Echo objMessage.Subject Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |