.Net Fax - Send a fax

This is a .Net code sample to show how to send a fax to a single recipient. This code sample is based on the .Net library for InterFAX available on Github.

This sample demonstrates how to send a PDF file to a fax recipient - all you need to do in order to change it is to provide a different fax number and a different path to file.

  
    // a path to an InterFAX
// compatible file
var file = interfax.Documents.BuildFaxDocument(@".\path\to\fax.pdf");
var options = new SendOptions {
  // a valid fax number
  FaxNumber = "+11111111112"
};

// send a single fax
var faxId = await interfax.Outbound.SendFax(
  file,
  options
);

  

You can check on the status of this fax by following this sample code.

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