Example: Fax export
The following example describes an Export Fax ruleset that selects the OpenTextFaxServer to use. The ruleset logs on to the server, and imports the faxes from the server into the batch.
The ruleset contains the Connect to Fax Server and Import Fax rules. The Connect to Fax rule contains the Server name, Logon, Protocol, and Connect functions and the actions that make the connection to the Fax server. The Import Fax rule contains the Import function with actions that locate the specified attachments and import them into the batch.
Export Fax ruleset
- Connect to Fax Server rule
- Server name function
- SetServerName("myserver")
- Logon function
- SetUserID("myuserID")
- SetUserPassword("myPassword")
- Protocol function
- SetProtocol("4")
- Connect function
- Connect( )
- Server name function
- Import Fax
- Import function
- ImportFaxes( )
- Import function