'Returns Dictionnary'

def getInformation(self):

    info = OrderedDict()
    try:
        info['CurrentProfileName'] = self.mapi.CurrentProfileName
    except Exception as e:
        logging.debug('Impossible    to    get    CurrentProfileName    configuration:    {0}'.format(e))
        info['CurrentProfileName'] = ''
    try:
        info['SessionType'] = self.outlook.Session.Type
    except Exception as e:
        logging.debug('Impossible    to    get    SessionType    configuration:    {0}'.format(e))
        info['SessionType'] = ''
    for (i, anAccount) in enumerate(self.outlook.Session.Accounts):
        try:
            info['Account{0}-DisplayName'.format(i)] = anAccount.DisplayName
        except Exception as e:
            logging.debug('Impossible    to    get    DisplayName    configuration:    {0}'.format(e))
            info['Account{0}-DisplayName'.format(i)] = ''
        try:
            info['Account{0}-SmtpAddress'.format(i)] = anAccount.SmtpAddress
        except Exception as e:
            logging.debug('Impossible    to    get    SmtpAddress    configuration:    {0}'.format(e))
            info['Account{0}-SmtpAddress'.format(i)] = ''
        try:
            info['Account{0}-AutoDiscoverXml'.format(i)] = anAccount.AutoDiscoverXml
        except Exception as e:
            logging.debug('Impossible    to    get    AutoDiscoverXml    configuration:    {0}'.format(e))
            info['Account{0}-AutoDiscoverXml'.format(i)] = ''
        try:
            info['Account{0}-AccountType'.format(i)] = self.OL_ACCOUNT_TYPES[anAccount.AccountType]
        except Exception as e:
            logging.debug('Impossible    to    get    AccountType    configuration:    {0}'.format(e))
            info['Account{0}-AccountType'.format(i)] = ''
    try:
        info['ExchangeMailboxServerName'] = self.mapi.ExchangeMailboxServerName
    except Exception as e:
        logging.debug('Impossible    to    get    ExchangeMailboxServerName    configuration:    {0}'.format(e))
        info['ExchangeMailboxServerName'.format(i)] = ''
    try:
        info['ExchangeMailboxServerVersion'] = self.mapi.ExchangeMailboxServerVersion
    except Exception as e:
        logging.debug('Impossible    to    get    ExchangeMailboxServerVersion    configuration:    {0}'.format(e))
        info['ExchangeMailboxServerVersion'.format(i)] = ''
    try:
        info['Offline'] = self.mapi.Offline
    except Exception as e:
        logging.debug('Impossible    to    get    Offline    configuration:    {0}'.format(e))
        info['Offline'.format(i)] = ''
    try:
        info['ExchangeConnectionMode'] = self.OL_EXCHANGE_CONNECTION_MODE[self.mapi.ExchangeConnectionMode]
        self.mapi.SendAndReceive(True)
    except Exception as e:
        logging.debug('Impossible    to    get    ExchangeConnectionMode    configuration:    {0}'.format(e))
        info['ExchangeConnectionMode'] = None
    return info
