How to select all messages in an imap folder

Post feedback about our hosted demo or your local install. Tell us what you love and/or what you’d like to see added in the future.
Post Reply
jeward
Posts: 4
Joined: Fri Sep 12, 2014 10:45 pm

How to select all messages in an imap folder

Post by jeward »

I periodically have to go through some imap folders, select all m,essages and delete. Is there any straightforward way to do this in the webmail client?
Thanks in advance.
James
mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

How to select all messages in an imap folder

Post by mmorse »

You can change your preference of how many messages you want to view at once, 10/25/50/100. (options/preferences > mail > number of items to display per page)

CTL-A would select all on that page.

(See the options shortcuts tab for some other good quick keys.)
And before you ask :rolleyes:

It would be a lot of traffic if someone had a huge folder and loaded it into their browser, but you can still delete the folder itself (you did say you wanted to 'select all and delete').
rey
Posts: 39
Joined: Fri Sep 12, 2014 10:39 pm

How to select all messages in an imap folder

Post by rey »

Except you can't delete special folders like "Inbox, Sent, Drafts".
mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

How to select all messages in an imap folder

Post by mmorse »

Didn't know if he was admin/user (he made this thread in the user's section).
If your an admin:

su zimbra

zmmailbox -z -m user@domain.com emptyFolder /folderName
kirme3
Advanced member
Advanced member
Posts: 179
Joined: Fri Sep 12, 2014 10:09 pm

How to select all messages in an imap folder

Post by kirme3 »

Just to add to this...I believe 5.0 will have an Empty Folder option in it too...am I wrong?
mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

How to select all messages in an imap folder

Post by mmorse »

yep! -but I have to assume 4.5.x

Bug 14213 - Mail Client should have a "delete items in a folder" (empty folder) action
There was some trouble when emptying remote/shared folders (where your a manager) because of the wrong ID usage-let me check on that bug and see.
rey
Posts: 39
Joined: Fri Sep 12, 2014 10:39 pm

How to select all messages in an imap folder

Post by rey »

[quote user="mmorse"]zmmailbox -z -m user@domain.com emptyFolder /folderName
[/QUOTE]
Nice to know there's some powerful command line tools underneath.

I don't think that will help James if he's not the admin.

That reminds me I've got the read the manuals sometime.
mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

How to select all messages in an imap folder

Post by mmorse »

The v5 shared folder empty issue has been fixed-however you will have to manually refresh sometimes until bug Bug 6082 - enable notification for delegate stores/shared folders is fixed.
Post Reply