ASP.NET Fax Samples - Send Faxes with a Few Lines of Code

Need to send an ASP.NET fax? The InterFAX ASP.NET fax API lets you send faxes using only a few lines of ASP.NET code, with no installations. InterFAX accepts documents in many popular formats, including PDF, Word, HTML, ASCII and URL - and sends them to a fax number you specify. We offer basic fax send/receive, and advanced features like multiple destinations, document resolution, and deferred transmission.

Note: This section includes samples for the ASP.NET framework, using VB.NET or C# code (.aspx.vb or .aspx.cs file extensions):

  • If you are looking for ASP classic samples (.asp file extension), refer to the Fax ASP Classic section.
  • If you would like more advanced VB.NET or C# samples, see the Fax VB.NET and C# Fax sections.

Sign up now for our free developer program and receive immediate access to the Interfax Fax API, supporting fax ASP.NET, fax ASP (ASP classic) and other popular languages. No hardware, no installations, no phone lines to order.

ASP.NET Fax Code Samples

Sample VB.NET C#
Setting Up ASP.NET Fax Environment - General Setting Up VB.NET Environment Setting Up C# Environment
Send a Plain-Text Fax - SendCharFax Simple Fax Transmission (VB.NET code) Send Plain-Text Content with SendCharFax (C# project)
Submit a Binary Fax - SendBinaryDocument Submit Binary Document (VB.NET code) Submit Binary File (C# project)
Retrieve Detailed Fax Information - FaxQuery Get Fax Information with FaxQuery (VB.NET code) Get Information About Submitted Faxes (C# project)

Get Started
Sign up now for our free developer program


Client Libraries
Get up and running in minutes, using libraries for Java, .Net, PHP, Ruby, and more
Developer's Guide
Find out how it all fits together
API Methods
Full documentation of all API methods, including REST and SOAP
Developer Forum
Discuss any issues you may have with our dedicated developer support staff

More code samples

To be able to send an ASP.NET fax, the basic concept is to generate an InterFAX 'Proxy' class, which exposes all the methods of the...

This section describes how to set up a VB.NET environment to work with the InterFAX Web service and send ASP.NET faxes using VB.NET. It...

In this section, you create, compile and reference the proxy class in order to set up a C# environment to work with the InterFAX Web...

Getting started with ASP

Prerequisites: SOAP Toolkit Version 3.0
To verify if the required software...

How to send a Simple Fax Transmission from ASP using SendCharFax method.

ASP project files for faxing text of any character set.

ASP project files for faxing a file using SendFax method.

How to view the status of an ASP fax, in XML structure.

This example demonstrates how to send a fax with ASP, using VB.NET (.aspx.vb extension).


This example demonstrates how to send a plain-text ASP.NET fax using a C# fax API (aspx.cs). This is done using the...

This code sample demonstrates how to submit a binary ASP.NET fax, using VB.NET (.aspx.vb extension). This is done using the...

The ASP.NET fax code snippet below demonstrates usage of the SendBinaryDocument method using a C# fax API (aspx.cs extension)....

In this sample, you use the FaxQuery method to send and...

This sample uses FaxQuery to retrieve information about...

What you get...

Free Registration
It costs nothing to join our developer program.
Free Faxing
Send as many test faxes as you need to one designated fax number.
Free Support
Our support team ensures you have everything you need to get your application up and running.
Access to Developer API
Your choice of REST, SOAP, or SMTP interface.

Features & Benefits of InterFAX

No Installations
No need to worry about fax software, servers or phone lines. Be up and running in minutes.
Encrypted Fax
Enhanced security with SSL access and encryption for inbound/outbound fax messages.
Global Reach
Our fax servers are distributed over four continents. Send faxes wherever you are.
Complies with the most stringent industry regulations, including the Health Insurance Portability and Accountability Act.
Unlimited Scalability
Whether you need to send ten faxes or ten thousand, our servers get the job done.
Outbound PCI DSS Fax
Complies with the new mandatory standard, ensuring the highest level of security for faxing credit-card data.
Full Control
Web-based administration screens allow you to monitor activity and control settings.
EU Data Protection
Complies with the EU Data Protection Directive, ensuring that all faxes are handled within the EU.

Sample Uses

Automated Invoicing
Automate fax invoices and order confirmations directly from order processing systems.
Online Restaurant Orders
Automatically fax orders from websites to restaurants for quick fulfillment.
Fax travellers' itineraries and related information directly from travel management systems.
Fax work orders to remote personnel from workflow management systems.
FAXCOMEXLib Alternative
Save the trouble of integrating the Windows fax library into your application.

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