SendAsFax
Faxes the contents of the document or page to the specified Fax number.
Member of namespace
OpenTextFaxServerSyntax
bool SendAsFax (string ToFaxNumber, string ToName)
Parameters
- ToFaxNumber
- Type: string
- ToName
- Type: string
Parameters
- ToFaxNumber: Recipient's fax number. This parameter is required. Smart parameters are supported.
- ToName: Recipient's name. This parameter is optional. If empty, the default ToName configured for the logged in user (on the server) is used. Smart parameters are supported.
Returns
False, if the action is not called at the document or page levels, or the fax number is not specified, or the document does not contain pages (attachments), or if a connection cannot be made to the fax server, or if the fax server returns an exception while attempting to send the fax. Otherwise, True.Level
Document and Page levels.Details
Faxes the document contents to the specified fax number.- Example
SendAsFax("123-456-8971","John Doe")A connection to the Fax server must be established via actions before you can use the SendAsFax action.