Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- creds = Credentials(
- username="domain_name\username",
- password="password")
- config = Configuration(server='mail.solutec.fr', credentials=creds)
- account = Account(
- primary_smtp_address="surname.name@lab-solutec.fr",
- autodiscover=False,
- config = config,
- access_type=DELEGATE)
- SSLError: HTTPSConnectionPool(host='mail.solutec.fr', port=443): Max retries exceeded with url: /EWS/Exchange.asmx (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),))
- from exchangelib.protocol import BaseProtocol, NoVerifyHTTPAdapter
- BaseProtocol.HTTP_ADAPTER_CLS = NoVerifyHTTPAdapter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement