Perl Fax Script - Send Faxes from Perl

Need a Perl fax script? The InterFAX fax service lets you send faxes using only a few lines of Perl code, with no installations. InterFAX accepts popular document formats including Word, HTML, PDF, ASCII and URL - and sends them to a fax number you specify. We provide basic fax send/receive, and advanced functions such as document resolution, deferred transmission, and multiple destinations.

Sign up now for our free developer program and receive immediate access to the Interfax Fax API, supporting Perl fax scripts and additional languages. No hardware, no software, no phone lines to order.

Perl Fax Script Samples

Title Body
Perl Fax - Send Binary Files Using SendFax

This example shows how to submit a binary file to the fax Web service. This can be done using SendFax with Perl.

The SendFax method indicates if the submission succeeded. The return value of a successful submission is the transaction ID (positive number) of the fax in the system. Other return values can indicate a failure (for more details, see Web Service Return Codes).

Perl Fax - Using SendCharFax to Send Plain-Text Faxes

This example illustrates how to send a plain-text Perl fax, using the SendCharFax method. Using HTML causes automatic word wrapping, whereas regular text does not. Text is limited to be standard ASCII (no 8-bit characters), but can also include HTML markup.

Perl Fax - Sending One or More Files to Multiple Recipients with SendfaxEx_2

In this section, the provided Perl fax script sends one or more faxes to one or more recipients with SendfaxEx_2.

Perl Fax - Retrieve Fax Information with FaxStatus

Use the FaxStatus method to retrieve information about one or more submitted faxes with Perl.

Perl Fax - Get Detailed Fax Information Using FaxQuery

The FaxQuery method allows you to retrieve information about one or more submitted Perl faxes.

Perl Fax - Query Submitted Faxes Using FaxQuery2

The following Perl fax snippet shows information on different submitted faxes. This example illustrates the use of the FaxQuery2 method to retrieve detailed information about a submitted Perl fax.

Perl Fax - Retrieve Outbound Fax Image with GetFaxImage

The GetFaxImage method, demonstrated in the Perl fax script below, retrieves the image of an outbound (previously-submitted) fax with Perl.

Perl Fax - Cancel Pending Fax

To cancel a previously-submitted (outbound) Perl fax, use the CancelFax method.

Perl Fax - Get List of Inbound Faxes

The Perl fax script below displays information for a number of submitted faxes using the GetList method.

Perl Fax - Use GetImageChunk to Retrieve Inbound Fax Image

In this Perl fax sample, GetImageChunk is used to retrieve a fax image in multiple chunks (the chunk size is configurable).

Get Started
Sign up now for our free developer program

Contact us today

Talk to a member of our team about the benefits InterFAX can bring to your organization's communications processes.

Contact us today