Send and Track Message

CAS Samples
This sample demonstrates sending a fax message and tracking the progress of the fax until it is completed.  The message handle returned from a successful call to SEND_MESSAGE can be used by an application to poll the fax server to track the progress of a message as it converted, delivered, and ultimately moved into the sent queue.  This sample submits a fax message, then polls the fax server using the GET_Q_ENTRIES_INFO function with the SPECIFIED_MESSAGE_HANDLE tag set to retrieve information for the new message.  The latest MESSAGE_STATUS and CONNECTION_SECONDS for the message are displayed after each update, and after a 5 second delay the process is repeated until the message is completed.  When completed, the MESSAGE_COMPLETION_CODE is displayed and the fax is deleted from the server.

CAS Interface: 
View Debug
LOGON
LOGON_NAME:
DOMAIN_NAME:
REMOTE_LOGON_NAME:
PROTOCOL:

CAS HTTP Proxy:

HTTP_SERVER_URL:

REGISTERED_NAME
REGISTERED_PASSWORD
RECEIVER_ADDRESS:
CURRENT_FILESPEC:
(optional attachment)


Handle Submit Time Status Seconds Completion