Change folder type from email to notes?
-
Hi,
is there any chance to switch the type of a folder from email to notes?
By SQL statement or with Python or …?I recently migrated from CommuniGate Pro to Kopano, with IMAPsync and TBsync for most of the data without issues.
Except for notes … one user with a few hundred notes I was not able to migrate. Now I managed the CommuniGate Notes folder to be migrated as a mail folder … so he is able to access the existing notes as emails. In CommuniGate it was easy to switch the folder type, so imapsync transferred the content. Now my idea is switching back to Notes type in Kopano.Thanks for any hint :-)
Regards,
Karsten -
You can use python-kopano for that see this example
import kopano user = kopano.user("user1") folder = user.store.folder("test") folder.container_class = "IPF.StickyNote"
-
@robing
Thank you - great! So easy …
I have to learn a lot about Kopano.