G
Guest
What code can I use to delete all messages in a folder (e.g. spam mail folder)?
Thanks in advance!
Thanks in advance!
Ken Slovak - said:Try olFolderJunk. There is no enum member olFolderSpam.
Michael Bauer said:Am Tue, 22 Aug 2006 10:10:07 -0400 schrieb Ken Slovak - [MVP - Outlook]:
Good point, Ken. I never experienced that a default folder can´t be found.
--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --
Michael,
It almost sounds like something is buggered in her PST file. Maybe running
ScanPST.exe a couple of times with Outlook closed and then opening Outlook
with the /resetfolders switch (Start, Run dialog: outlook.exe /resetfolders)
might be useful. It can't hurt and may help.
Other than that it's off to OutlookSpy to see if the default Store has the
correct EntryID references for the default folders.
This is for the default PST file?