ノーコードでクラウド上のデータとの連携を実現。
詳細はこちら →無償トライアル:
無償トライアルへ製品の情報と無償トライアルへ:
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 data 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 data.
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 data 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();