'See https://msdn.microsoft.com/fr-fr/library/office/ff861868.aspx for folderIndex
Return True if done
Otherwise returns False'

def setDefaultFolder(self, folderIndex=None):

    if (folderIndex == None):
        folderIndex = self.OL_DEFAULT_FOLDERS['olFolderInbox']
    folderName = self.__getOlDefaultFoldersNameFromIndex__(folderIndex)
    if (folderName == None):
        logging.warning('Impossible    to    move    the    default    folder    to    {0}.    This    folder    index    is    not    in    {1}'.format(folderIndex, self.OL_DEFAULT_FOLDERS))
        return False
    else:
        logging.debug('Moving    outlook    default    folder    to    {0}'.format(folderName))
        self.inbox = self.mapi.GetDefaultFolder(folderIndex)
        return True
