PDFFaxJob::addPhoneNumber

Description

In BBj 10.0 and higher, this method adds a phone number to the list of recipients before sending a fax.

Syntax

Access

Return Value

Method

public

void

addPhoneNumber(BBjString phoneNo$)

Parameters

Variable

Description

phoneNo$

Recipient's fax number.

Return Value

None.

Remarks

Calling this method multiple times will cumulatively add phone numbers to the list of recipients to send faxes to. This method does not check for uniqueness as it adds to the list.

Example

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

rem 'Add a phone number to the fax job
fax!.addPhoneNumber(phoneNo!)
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.