![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete All the Messages in My Sent Items Folder
|
||
Const olFolderSentMail = 5
Set objOutlook = CreateObject("Outlook.Application") Set objNamespace = objOutlook.GetNamespace("MAPI") Set objFolder = objNamespace.GetDefaultFolder(olFolderSentMail) Set colItems = objFolder.Items For i = colItems.Count to 1 Step - 1 colItems(i).Delete Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |