[JAVA] as an admin connect to someone mailbox
i'd like to do this kind of stuff
But in a java way.
mbox> aa firstname.lastname@example.org password
mbox> sm email@example.com
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