Home > OS >  Is possible to retrieve data and download files from outlook without password using ExChangeLib (EWS
Is possible to retrieve data and download files from outlook without password using ExChangeLib (EWS

Time:10-01

I'm trying to access data from Outlook and can download files from exchangelib with a password. But I'd like access without a password. Do we've any alternate for this stuff?

CodePudding user response:

An alternative to "this stuff"? Meaning an alternative to security? No.

The best you can do without credentials is to use Outlook Object Model on a machine where Outlook is already installed and configured to access the folders and messages from a mailbox in the configured local profile.

CodePudding user response:

You cannot use exchangelib to connect to the Exchange server without credentials of some sort, but exchangelib supports a variety of auth methods, and not all credentials contain a password. OAuth uses tokens, Kerberos and SSPI use a security context already available in your Windows session, certificate-based auth uses an on-disk file AFAIK, etc.

  • Related