Programmer’s Guide

Retrieving the inbound fax list

The inbound fax list can be retrieved by calling the method GetList. The GetList request is submitted with list type (all or unread) and MaxItem (the maximum number of items in the list can be up to 100). The list will be in the format of an array that is made up of MessageItems and given by reference from the client.

Getting the inbound fax image

The fax image can be retrieved by using the GetImageChunk method. The GetImageChunk request is submitted with the MessageID, buffer to place the image in, buffer size (chunk size that you wish to receive) and from (which byte of the image to start at). After the last buffer of the image has been sent, the message will be marked as read.

Marking inbound messages as read

The client can change the status of the message from ‘unread’ to ‘read’ and vice versa. The incoming messages are automatically marked as ‘unread’ until the client has downloaded the image file completely or marked the message as ‘read’ by using the MarkMessage method. The MarkMessage request is submitted with the MessageID and a Boolean (true for marking the message as ‘read, and false for marking it as ‘unread’).