[JAVA] as an admin connect to someone mailbox
i'd like to do this kind of stuff
But in a java way.
mbox> aa email@example.com password
mbox> sm firstname.lastname@example.org
This is to clean automatically some users folders.
How can i do it?
I first tried
This was done to connect to a zmmailbox... but this don't seem to work..
opts = new Options("zimbra.admin.user", AccountBy.name,"zimbra.admin.password", server);
Thanks for the help