Compartilhar via


Document.SendFaxOverInternet(Object, Object, Object) Method

Definition

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

public void SendFaxOverInternet (ref object Recipients, ref object Subject, ref object ShowMessage);
abstract member SendFaxOverInternet : obj * obj * obj -> unit
Public Sub SendFaxOverInternet (Optional ByRef Recipients As Object, Optional ByRef Subject As Object, Optional ByRef ShowMessage As Object)

Parameters

Recipients
Object

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

Subject
Object

The subject line for the faxed document.

ShowMessage
Object

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

Remarks

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:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Services\Fax

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.

Applies to