Fax from PHP

Need to fax from PHP? Access the InterFAX internet fax service through the developer API and send faxes programmatically with just a few lines of code and no installations.

Sign up now for our free developer program and receive immediate access to the Interfax Fax API. No hardware installations, no software setup, no phone lines to order.

The InterFAX service accepts files in all popular document formats - including MS Word, PDF, plain text ASCII, HTML, URL, and others - and sends them to a fax number you specify.

Quick-jump to Web Service code samples for PHP

TitleDescription 
Tutorial: Fax from PHP

This step-by-step guide will enable you to get started sending faxes from PHP using the InterFAX internet fax XML web service.

Send a simple ASCII-text fax using SendCharFax

This sample demonstrates the most basic submission of a simple text document for faxing. Text is limited to be standard ASCII (no 8-bit characters), but may include HTML markup.

Send one file attachment (e.g., PDF, DOC, HTML) to one recipient with Sendfax

This sample demonstrates how to send an "attached" file, such as Word DOC, PDF, or HTML to a single recipient.

Fax one or more files to one or more recipients with SendfaxEx_2

This sample demonstrates how to send one or more attached files with method SendfaxEx_2.

Get information about one or more submitted faxes with FaxStatusEx

This sample demonstrates how to retrieve information about a sent fax using the FaxStatusEx method.

Get information about one or more submitted faxes with FaxQuery

This sample demonstrates how to retrieve information about a sent fax using the FaxQuery method. This method has more flexible querying options than FaxStatusEx.

Get information about one or more submitted faxes with FaxQuery2

This sample demonstrates how to retrieve information about a sent fax using the FaxQuery2 method. This method has more flexible querying options than FaxQuery.

Retrieve the image of a submitted fax with GetFaxImageResult

This sample demonstrates how to retrieve the fax image of a previously-submitted message

Cancel a pending fax with CancelFax

This sample demonstrates how to cancel a previously-submitted outbound fax.

Inbound: get list of inbound faxes using GetList

This sample demonstrates how to retrieve a list of inbound (received) faxes.

Inbound: retrieve a received fax using GetImageChunk

This sample demonstrates how to retrieve an inbound (received) fax image

Choose Your Fax API: Web Service or Email Interface

All interfaces support basic fax sending for quick and simple faxing, as well as advanced fax API functionality such as multiple destinations, deferred transmission, document resolution, and more...

Choose Your API Fax:


Web Service

Send faxes from any standards-compliant .NET, SOAP or other WSDL client.

Features:

  • Receive submission token
  • Real-time status query
  • Multiple Recipients
  • Multiple Documents
  • Deferred Transmission

Email Interface

Send faxes from any standards-compliant .NET, SOAP or other WSDL client.

Features:

  • Receive submission token
  • Real-time status query
  • Multiple Recipients
  • Multiple Documents
  • Deferred Transmission

ActiveX COM Object

Send faxes from any standards-compliant .NET, SOAP or other WSDL client.

Features:

  • Receive submission token
  • Real-time status query
  • Multiple Recipients
  • Multiple Documents
  • Deferred Transmission