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

 



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.