Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete All the Email Sent From a Specific PersonContent of Delete All the Email Sent From a Specific Person.vbsMD5 Hash: 173182A4DEDFF64CDB5C965F59BAEC5F |
||
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("[From] = 'Bill Gates'") For i = colFilteredItems.Count to 1 Step -1 colFilteredItems(i).Delete Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |