Dear vinod85
Hi,
Sometimes folder's name include spaces, so use of spit() is not suitable, therefore I suggest the below code for gotting mailboxes.
Good Lcuk
def get_mailboxes(self):
rc, self.response = self.M.list()
for item in self.response:
self.mailboxes.append(item.split('"')[-2])
return rc