FaxMan SDK Version 4.7
FaxSchedule

DWORD FaxSchedule(PAPPINFO pApp, PSEND_FAX pFax)

 

Schedules a fax to be sent.

 

Parameter

Type/Description

PApp

PAPPINFO Returned from FaxRegister function.

PFax

PSEND_FAX Pointer to a SEND_FAX structure.

 

Return Value

The return value is a DWORD used to uniquely identify this fax within the FaxMan system. This id can be used in subsequent operations to obtain information on the status of this fax.

 

If the returned value is non-zero, the fax could not be scheduled. General causes of this are that the server could not be located/loaded or because the file list contained an invalid file. Call the FaxGetErrorString or FaxGetErrorStringBuf functions to determine the specific error information.

 

Comments

FaxSchedule causes FaxMan to place the given fax into the send log. Note that you should be sure to call FaxInitSendStruct and then fill in the fax files and fax number field before calling this function.

 

Faxes can be scheduled for any time in the future by simply setting the time and date to send in the SEND_FAX structure.

 

 


© 2013 Data Techniques, Inc. All Rights Reserved.

Send comments on this topic.