CData Python Connector for Email

Build 23.0.8839

Connecting

Connecting with the cdata.email Module:

The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:
import cdata.email as mod
conn = mod.connect("Port=993;Server=outlook.office365.com;Password=password;User=user;Protocol=IMAP;SMTP Port=587;SMTP Server=smtp.office365.com;")

Once the connection is created, you can use it to execute subsequent SQL queries.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839