Fax ASP Classic - Send Faxes with a Few Lines of Code

Need to send a fax in ASP Classic? InterFAX allows you to send faxes using the ASP framework with only a few lines of code, and with no installations. The fax ASP API allows you to perform basic fax send/receive, or more advanced sending, like sending to multiple destinations, document resolution, and deferred transmission. Additionally, InterFAX supports documents in many popular formats (PDF, Word, HTML, ASCII, URL), and sends them to a fax number you specify.

Note: This section includes samples for the ASP Classic framework.

  • If you are looking for ASP.NET samples, visit the ASP.NET Fax section
  • If you are using the ASP.NET framework with VB.NET, see the Fax VB.NET samples.

ASP Classic Faxing Samples

Title Description
Fax ASP Classic - Getting Started

Note: If you are using the ASP.NET framework, see the ASP.NET fax section.

This section describes how to get started before sending a fax with ASP classic.

Fax ASP Classic - Send Faxes with a Few Lines of Code

Need to send a fax in ASP Classic? InterFAX allows you to send faxes using the ASP framework with only a few lines of code, and with no installations.

Fax ASP Classic - Send a Basic, Plain-Text Fax Using SendCharFax

The SendCharFax method used in this example sends a basic, plain-text fax with ASP (text is limited to be standard ASCII, meaning no 8-bit characters, but can include HTML). Note that using HTML causes automatic word wrapping, whereas regular text does not.

Fax ASP Classic - Sending Multiple Files to Multiple Recipients with SendfaxEx_2

This fax ASP code example reads a number of files, concatenates them into one string, submits the fax with multiple attachments to the InterFAX Web service, and indicates whether the submission succeeded.

Fax ASP Classic - Get Detailed Fax Information with FaxQuery

This sample uses the FaxQuery method to retrieve detailed ASP fax information. The FaxQuery method has more flexible querying options than FaxStatus (see Side-by-side Comparison of Web Service Methods).

Fax ASP Classic - Get a List of Inbound Faxes with GetList

In this sample, the GetList2 method is used to retrieve a list of inbound (received) faxes with ASP Classic.

Fax ASP Classic - Retrieve the Image of a Submitted Fax

The GetFaxImage method demonstrated below, retrieves the image of a submitted fax with ASP.

Fax ASP Classic - Retrieve the Image of a Received Fax

In this fax ASP example, you learn how to retrieve an image for a received (inbound) fax using the GetImageChunk method. The fax image is retreived in multiple chunks (the chunk size is configurable).

Fax ASP Classic - Cancel Pending Fax

Cancel an outbound fax with ASP using the CancelFax method. This method only effects faxes waiting to be sent (with the status codes: -1 Preprocessing, -2 Ready, or -3 Pending Retry), and not faxes that are being actively transmitted.

Sign up now for our free developer program