PDFFaxJob::addPhoneNumbers

Description

In BBj 10.00 and higher, this method adds a list of phone numbers to the internal list of recipients’ phone numbers.

Syntax

Access

Return Value

Method

public

void

addPhoneNumbers(BBjVector phoneNos!)

Parameters

Variable

Description

phoneNos$

List of recipients' fax numbers.

Return Value

None.

Remarks

Calling this method multiple times cumulatively adds phone numbers to the list of fax recipients. This method does not check for uniqueness when adding number to the list.

Example

use ::LocalFax.src::PDFFaxJob
declare PDFFaxJob fax!
document$="c:\users\someuser\page.pdf"

rem 'Create a vector of phone numbers that the fax is to be sent to.
phoneNos!=BBjAPI().makeVector()
phoneNos!.add("555-1212")
phoneNos!.add("567-8309")
fax!=new PDFFaxJob()
fax!.addDocument(documents$)

rem 'Add the phone numbers to the fax job.
fax!.addPhoneNumbers(phoneNos!)
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.