Hello All,

I'm new in Zimbra/Zimlet and I need a little help in my first development

Some suggestions would be appreciated with:
- I succesfully moved a draft message in another forlder when saving it, but I can't do this with new messages (message id is not "present" yet). How can I retrieve this id? - or how can I move new messages in some other directories when they are saved as drafts? Do I strictly have to use SOAP calls?
- Is it possible to dinamically (into the code) change the active identity that is creating/saving draft or new messages?

I searched a lot in some examples and in API documentation, but I didn't found useful hints.

Thanks in advance!