Export (0) Print
Expand All
Expand Minimize

DocumentBase.SendFaxOverInternet Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sends the document to a fax service provider, who faxes the document to one or more specified recipients.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public void SendFaxOverInternet(
	ref Object recipients,
	ref Object subject,
	ref Object showMessage


Type: System.Object

The fax numbers and e-mail addresses of the people to whom to send the fax. Separate multiple recipients with a semicolon.

Type: System.Object

The subject line for the faxed document.

Type: System.Object

true to display the fax message before sending it. false to send the fax without displaying the fax message.

Using this method requires that a fax service is enabled on a user's computer. If a fax service is not enabled, the SendFaxOverInternet method throws an exception.

The format used for specifying fax numbers in the Recipients parameter is either recipientsfaxnumber@usersfaxprovider or recipientsname@recipientsfaxnumber. You can access the user's fax provider information using the following registry path:


Use the FaxAddress key value at this registry location to determine the format to use for a user. If this registry entry does not exist, no fax service is available.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

The following code example uses the SendFaxOverInternet method to fax the document to a fax number using the format recipientsfaxnumber@usersfaxprovider. The code displays the document before sending the fax. To use this example, run it from the ThisDocument class in a document-level project.

private void DocumentSendFaxOverInternet()
    object recipients = "14255550101@consolidatedmessenger.com";
    object subject = "For your review.";
    object showMessage = true;

    this.SendFaxOverInternet(ref recipients, ref subject, 
        ref showMessage);

© 2014 Microsoft