PDFFaxJob
::send

Description

In BBj 10.0 and higher, this method executes the fax job by sending the list of documents to all recipients in the list of phone numbers.

Syntax

Access

Return Value

Method

public

void

send()

Parameters

None.

Return Value

None.

Remarks

Fully configure the fax job before invoking “send”.

Example

use ::LocalFax.src::PDFFaxJob
declare PDFFaxJob fax!
document!="C:\users\someuser\doc.pdf”
phoneNo!="5551212"
fax!=new PDFFaxJob()
fax!.addDocument(document!)
fax!.addPhoneNumber(phoneNo!)

rem 'Send the fax.
fax!.send()
fax!.close()

See Also

Fax Utility

PDFFaxJob

Note:

The BASIS Fax Utility uses a third-party library from Java4Less called RFax. Any faxes sent will include a banner stating that the RFax library is being used until the customer obtains a license from Java4Less here.