HI ! After a long search in the forum no matches were found about the topic of this post.
My idea is to check if a mail folder exists or not during the "execution" of a zimlet.
My collegue has extended the ZmFolder's methods adding others ones by which you can get easly an array that contains the children of a folder.
My guess is to create a ZmFolder object that is a clone of INBOX folder. Now appling the method at this object I can check in the array of his subfolder if a particular folder exists or not.
I've tried to do this in doubleClicked method of Zimlet in this way (checking the number of subfolder) :
but it doesn't work.
psROOT = new ZmFolder;
psROOT.ID_ROOT = ZmOrganizer.ID_ROOT;
Does anybody have an idea or advice ?
Happy ZIMBRA to You