Friday, March 18, 2011

Send a fax to .NET

Fax is an alternative to e-mail and other forms of communication document.

Some applications require yet fax signed documents or audit letters. You can use the .NET language to send a fax to a recipient on the Internet. The service sends a document on the Web server directly to a fax machine or the user's computer. This is a "Server" class contains the properties and functions used to send the document. Difficulty: average

Instructions
  1. 1

    Create your fax.

Fax object contains properties and functions to create and send the fax uses. The following code sends your fax fax: FaxServerClass = new FaxServerClass (); Fax.Connect ("machine"); Replace "Machine", by your outgoing fax machine account. This can be any account on your local network or a fax online account processing. This information is provided by your administrator.
  • 2

    Assign the fax document, the recipient's number and the name of the object to the fax recipient.

  • The following code shows how to assign this information for the fax obj: object = fax.CreateDocument ("sendthisfile.txt"); FaxDoc doc = (FaxDoc) obj; doc.FaxNumber = "# 9999999999"; doc.RecipientName = "Recipient".
  • 3

    Send the fax to the recipient.

  • This sends the fax to the recipient and appends the specified document. The following code sends your fax: fax (. send);

    No comments:

    Post a Comment