title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Document.SendFaxOverInternet method (Word) |
vbawd10.chm158007760 |
|
|
1e1d061e-c33a-fdf1-ae63-b9a62babc1ef |
06/08/2019 |
medium |
Sends a document to a fax service provider, who faxes the document to one or more specified recipients.
expression. SendFaxOverInternet
( _Recipients_
, _Subject_
, _ShowMessage_
)
expression Required. A variable that represents a Document object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Recipients | Optional | Variant | A String that represents the fax numbers and email addresses of the people to whom to send the fax. Separate multiple recipients with a semicolon. |
Subject | Optional | Variant | A String that represents the subject line for the faxed document. |
ShowMessage | Optional | Variant | True displays the fax message before sending it. False sends the fax without displaying the fax message. |
Using the SendFaxOverInternet method requires that a fax service is enabled on a user's computer. If a fax service is not enabled, the SendFaxOverInternet method will cause a run-time error.
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.
The following example sends a fax to the fax service provider, who will fax the message to the recipient.
ActiveDocument.SendFaxOverInternet _
"14255550101@consolidatedmessenger.com", _
"For your review", True
[!includeSupport and feedback]