ノーコードでクラウド上のデータとの連携を実現。
詳細はこちら →30日間の無償トライアル
無償トライアルはこちら製品の詳細
Email ODBC ドライバーは、ODBC 接続をサポートする任意のアプリケーションからリアルタイムなインターネット電子メールに直接接続できるパワフルなツールです。標準のODBC ドライバーインターフェースを使用して、データベースのようにE メールデータにアクセスし、E メールの読み出し、書き込み、および送信を実行できます。
こんにちは!ドライバー周りのヘルプドキュメントを担当している古川です。
The CData ODBC Driver for Email can be used from any platform or development technology that supports ODBC, including Sybase PowerBuilder. This article shows how to connect to Email データ and execute queries from the Database Painter and controls such as the DataWindow.
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for Email. In the Database Painter, you can use wizards and the UI to work with Email データ.
Authentication セクションのUser プロパティとPassword プロパティに、有効な認証情報を設定する必要があります。 E メールを取得するには、Server を指定する必要があります。E メールを送信するにはSMTPServer を指定する必要があります。
See the help documentation for a guide to creating a Email DSN.You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve Email データ into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC"
SQLCA.DBParm = "ConnectString='DSN=CData Email Source'"
CONNECT USING SQLCA;
dw_mailboxes.SetTransObject(SQLCA);
dw_mailboxes.Retrieve();