Exchangelib - Monitoring an exchange server mailbox, cannot connect to shared public folder

595
April 15, 2017, at 05:47 AM

I am trying to use exchangelib in order to monitor an e-mail address from a dedicated server without requiring an instance of Outlook be installed.

import exchangelib
from exchangelib import DELEGATE, Account, Credentials, IMPERSONATION
from exchangelib.configuration import Configuration

credentials = Credentials(
    username='TFAYD\\206420055',
    password='boomboomboomboom'
)
config = Configuration(server='ecmail.test.com', credentials=credentials)
account = Account(
    primary_smtp_address='test.test@nbcuni.com',
    config=config,
    autodiscover=False,
    access_type=DELEGATE,
)
#print(account.folders)
#t = account.root.get_folder_by_name('\\\\Public Folders - test.test@nbcuni.com\\All Public Folders\\test\\test\\NEWS')
z = account.folders
print([t for t in z])

I've tried a few different things in order to get to a public folder that my account has access to but it continuously complains that there is no such folder with that name.

Is it possible to use exchangelib / python to interact with shared folder on exchange server? I am hoping to watch the folder with an automated process.

Rent Charter Buses Company
READ ALSO
How to use BHATTACHARYYA to compare many histograms in sets

How to use BHATTACHARYYA to compare many histograms in sets

I'm working on a CBIR system, I have a function which makes histograms of the descriptors and returns this as an array and with the name of the imageI've gotten to the retrieval/search part, and need to use these histograms to compute Bhattacharyya distance...

348
Unexpected result when comparing value received from socket to integer

Unexpected result when comparing value received from socket to integer

I'm receiving data from the socket, then saving one of its elements as recentnumb

363
Pandas dataframe rounding a series

Pandas dataframe rounding a series

I have a pandas series like:

750