Empty an entire folder?
Is there some way to delete all the mails in my inbox or other folder.
I have imported a .pst but it took several attempts and now I have some emails multiple times (even though the import utility is supposed to avoid that it didn't). I want to clear my folders or even my entire mail box and start again. Is that possible?
There will be an Empty Folder option (for folders other than Inbox) in version 5 but for now you can use this command:
zmmailbox -z -m firstname.lastname@example.org emptyFolder /folderName
In your example you are listing the folder. I don't know what users call their sub folders. We use the script to prune mail to our retention policies and I want tp extend it to add sub folders, regardless of unknown names.
Originally Posted by phoenix
how is it possible to give to emptyfolder a date?
i am looking for the possibility to remove all eMails before july, 1st 2012.
in any folder?