I want to empty an inbox - including subfolders - using SOAP. There is already a command (CLI), emptyFolder /Inbox, that will do that.
How can I do that using SOAP? I can't find the specific SOAP call that will do that.
Thanks
I want to empty an inbox - including subfolders - using SOAP. There is already a command (CLI), emptyFolder /Inbox, that will do that.
How can I do that using SOAP? I can't find the specific SOAP call that will do that.
Thanks
As a reference for the future, one thing that I've found useful is to run the command that I want to find within the Zimbra environment, and then use FireBug to look at the SOAP requests that were generated. This way, you can see what to expect from specific actions, and the SOAP calls that correlate to them.
Sometime, users want to empty Inbox entirely. But Zimbra Web mail client don't have any options for this thing. Please show me how to solve this problem.
I don't understand how to implement the code which dkarp posted.
Thanks,
Do you want to add a button that will empty the Inbox? Do you want to add a context option to empty the Inbox? First you should think of the end goal. If waiting for 5.0 is an option, then I would wait to see if the answer dkarp gave will work for you. If it's not, then you might need to decide what you're really trying to accomplish, and then ask a question more relevant to your end goal.
Many thanks for your reply.
I think that this is a necessary option for users. My users complain me about thing.
Thanks,
We're at 5.0.11, and the Right-click to empty a folder is very valuable. It is greyed out on Inbox. Is that something that can be turned on or activated? Thanks!...Gerrit
Gerrit Bos
CCS, U. of Guelph
Ontario, Canada
I would be interested in a solution for this as well. I'm running Zimbra 6 and I can empty any folder except for the inbox. I've got 2000mails in there that i want to delete but to do so page for page would take far too long. Is there any other possibility to do that?
best regards
Code:su - zimbra zmmailbox -z -m account@domain emptyFolder /Inbox
There are currently 1 users browsing this thread. (0 members and 1 guests)